[llvm] r262262 - [Verifier] Minor fix to error message; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 29 14:04:25 PST 2016
Author: sanjoy
Date: Mon Feb 29 16:04:25 2016
New Revision: 262262
URL: http://llvm.org/viewvc/llvm-project?rev=262262&view=rev
Log:
[Verifier] Minor fix to error message; NFC
Modified:
llvm/trunk/lib/IR/Verifier.cpp
llvm/trunk/test/Verifier/invoke.ll
Modified: llvm/trunk/lib/IR/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=262262&r1=262261&r2=262262&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Verifier.cpp (original)
+++ llvm/trunk/lib/IR/Verifier.cpp Mon Feb 29 16:04:25 2016
@@ -3473,8 +3473,8 @@ void Verifier::visitInstruction(Instruct
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_void ||
F->getIntrinsicID() == Intrinsic::experimental_patchpoint_i64 ||
F->getIntrinsicID() == Intrinsic::experimental_gc_statepoint,
- "Cannot invoke an intrinsinc other than"
- " donothing or patchpoint",
+ "Cannot invoke an intrinsic other than donothing, patchpoint or "
+ "statepoint",
&I);
Assert(F->getParent() == M, "Referencing function in another module!",
&I, M, F, F->getParent());
Modified: llvm/trunk/test/Verifier/invoke.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/invoke.ll?rev=262262&r1=262261&r2=262262&view=diff
==============================================================================
--- llvm/trunk/test/Verifier/invoke.ll (original)
+++ llvm/trunk/test/Verifier/invoke.ll Mon Feb 29 16:04:25 2016
@@ -46,7 +46,7 @@ contb:
define i8 @f2() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
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()
to label %cont unwind label %lpad
More information about the llvm-commits
mailing list