summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-02-29 22:04:25 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-02-29 22:04:25 +0000
commit999dc75c120e5b4c65d07b09ed5f64204e2aecb4 (patch)
tree8d071b151e67d475ff7123cdb24f63767150d4ce /llvm/lib/IR/Verifier.cpp
parent3fc67e47e53b1d81dbefa92bba98b35d26581d77 (diff)
downloadbcm5719-llvm-999dc75c120e5b4c65d07b09ed5f64204e2aecb4.tar.gz
bcm5719-llvm-999dc75c120e5b4c65d07b09ed5f64204e2aecb4.zip
[Verifier] Minor fix to error message; NFC
llvm-svn: 262262
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index f6315196140..f02879eeb5b 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -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());
OpenPOWER on IntegriCloud