From 6f72282e02186b32f1c3e24466d3a44c003a1127 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Feb 2005 19:27:42 +0000 Subject: [PATCH] Verify llvm.prefetch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20376 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Verifier.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 4fae3b72d11..1649b72058f 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -747,6 +747,8 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { case Intrinsic::memcpy: NumArgs = 4; break; case Intrinsic::memmove: NumArgs = 4; break; case Intrinsic::memset: NumArgs = 4; break; + + case Intrinsic::prefetch: NumArgs = 3; break; case Intrinsic::not_intrinsic: assert(0 && "Invalid intrinsic!"); NumArgs = 0; break; -- 2.34.1