mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add support for new intrinsic
llvm-svn: 10701
This commit is contained in:
parent
2ef279d638
commit
8b4be63e6e
@ -212,6 +212,7 @@ unsigned Function::getIntrinsicID() const {
|
||||
if (getName() == "llvm.dbg.region.start")return Intrinsic::dbg_region_start;
|
||||
if (getName() == "llvm.dbg.region.end") return Intrinsic::dbg_region_end;
|
||||
if (getName() == "llvm.dbg.func.start") return Intrinsic::dbg_func_start;
|
||||
if (getName() == "llvm.dbg.declare") return Intrinsic::dbg_declare;
|
||||
break;
|
||||
case 'l':
|
||||
if (getName() == "llvm.longjmp") return Intrinsic::longjmp;
|
||||
|
@ -553,6 +553,7 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
|
||||
case Intrinsic::dbg_region_start:NumArgs = 1; break;
|
||||
case Intrinsic::dbg_region_end: NumArgs = 1; break;
|
||||
case Intrinsic::dbg_func_start: NumArgs = 1; break;
|
||||
case Intrinsic::dbg_declare: NumArgs = 1; break;
|
||||
|
||||
case Intrinsic::alpha_ctlz: NumArgs = 1; break;
|
||||
case Intrinsic::alpha_cttz: NumArgs = 1; break;
|
||||
|
Loading…
Reference in New Issue
Block a user