forked from OSchip/llvm-project
Print INST_INBOUNDS_GEP rather than UnknownCode30.
Likewise for constant inbounds GEP. llvm-svn: 82763
This commit is contained in:
parent
07fec3bbf5
commit
3cf0cdee4c
|
@ -191,6 +191,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
|
||||||
case bitc::CST_CODE_CE_BINOP: return "CE_BINOP";
|
case bitc::CST_CODE_CE_BINOP: return "CE_BINOP";
|
||||||
case bitc::CST_CODE_CE_CAST: return "CE_CAST";
|
case bitc::CST_CODE_CE_CAST: return "CE_CAST";
|
||||||
case bitc::CST_CODE_CE_GEP: return "CE_GEP";
|
case bitc::CST_CODE_CE_GEP: return "CE_GEP";
|
||||||
|
case bitc::CST_CODE_CE_INBOUNDS_GEP: return "CE_INBOUNDS_GEP";
|
||||||
case bitc::CST_CODE_CE_SELECT: return "CE_SELECT";
|
case bitc::CST_CODE_CE_SELECT: return "CE_SELECT";
|
||||||
case bitc::CST_CODE_CE_EXTRACTELT: return "CE_EXTRACTELT";
|
case bitc::CST_CODE_CE_EXTRACTELT: return "CE_EXTRACTELT";
|
||||||
case bitc::CST_CODE_CE_INSERTELT: return "CE_INSERTELT";
|
case bitc::CST_CODE_CE_INSERTELT: return "CE_INSERTELT";
|
||||||
|
@ -207,6 +208,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
|
||||||
case bitc::FUNC_CODE_INST_BINOP: return "INST_BINOP";
|
case bitc::FUNC_CODE_INST_BINOP: return "INST_BINOP";
|
||||||
case bitc::FUNC_CODE_INST_CAST: return "INST_CAST";
|
case bitc::FUNC_CODE_INST_CAST: return "INST_CAST";
|
||||||
case bitc::FUNC_CODE_INST_GEP: return "INST_GEP";
|
case bitc::FUNC_CODE_INST_GEP: return "INST_GEP";
|
||||||
|
case bitc::FUNC_CODE_INST_INBOUNDS_GEP: return "INST_INBOUNDS_GEP";
|
||||||
case bitc::FUNC_CODE_INST_SELECT: return "INST_SELECT";
|
case bitc::FUNC_CODE_INST_SELECT: return "INST_SELECT";
|
||||||
case bitc::FUNC_CODE_INST_EXTRACTELT: return "INST_EXTRACTELT";
|
case bitc::FUNC_CODE_INST_EXTRACTELT: return "INST_EXTRACTELT";
|
||||||
case bitc::FUNC_CODE_INST_INSERTELT: return "INST_INSERTELT";
|
case bitc::FUNC_CODE_INST_INSERTELT: return "INST_INSERTELT";
|
||||||
|
|
Loading…
Reference in New Issue