OSDN Git Service

[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262262 91177308-0d34-0410-b5e6-96231b3b80d8

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

index f631519..f02879e 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 8fa9923..b0d2ed1 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