forked from OSchip/llvm-project
[Verifier] Minor fix to error message; NFC
llvm-svn: 262262
This commit is contained in:
parent
3fc67e47e5
commit
999dc75c12
|
@ -3473,8 +3473,8 @@ void Verifier::visitInstruction(Instruction &I) {
|
||||||
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_void ||
|
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_void ||
|
||||||
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_i64 ||
|
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_i64 ||
|
||||||
F->getIntrinsicID() == Intrinsic::experimental_gc_statepoint,
|
F->getIntrinsicID() == Intrinsic::experimental_gc_statepoint,
|
||||||
"Cannot invoke an intrinsinc other than"
|
"Cannot invoke an intrinsic other than donothing, patchpoint or "
|
||||||
" donothing or patchpoint",
|
"statepoint",
|
||||||
&I);
|
&I);
|
||||||
Assert(F->getParent() == M, "Referencing function in another module!",
|
Assert(F->getParent() == M, "Referencing function in another module!",
|
||||||
&I, M, F, F->getParent());
|
&I, M, F, F->getParent());
|
||||||
|
|
|
@ -46,7 +46,7 @@ contb:
|
||||||
|
|
||||||
define i8 @f2() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
|
define i8 @f2() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: Cannot invoke an intrinsinc other than donothing or patchpoint
|
; CHECK: Cannot invoke an intrinsic other than donothing, patchpoint or statepoint
|
||||||
invoke void @llvm.trap()
|
invoke void @llvm.trap()
|
||||||
to label %cont unwind label %lpad
|
to label %cont unwind label %lpad
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue