[Verifier] Minor fix to error message; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 29 Feb 2016 22:04:25 +0000 (22:04 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 29 Feb 2016 22:04:25 +0000 (22:04 +0000)
llvm-svn: 262262

llvm/lib/IR/Verifier.cpp
llvm/test/Verifier/invoke.ll

index f6315196140286c25912b22b3a192a14c1729790..f02879eeb5b3a49c781e18a77922adb23960ea08 100644 (file)
@@ -3473,8 +3473,8 @@ void Verifier::visitInstruction(Instruction &I) {
               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());
index 8fa9923c0cb853a2495389cdf5bc400a06cf15c7..b0d2ed170bfa12aba5e0ba4acd0877b2ca5d3ce9 100644 (file)
@@ -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