From 0942b7caf1b5fde959301042129d25f1e7b86b28 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Feb 2005 19:27:23 +0000 Subject: [PATCH] Lower prefetch to a noop, patch contributed by Justin Wick! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20375 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/IntrinsicLowering.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 63ff8152913..85e8ba533fd 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/lib/CodeGen/IntrinsicLowering.cpp @@ -169,6 +169,9 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { cast(CI->getType()))); break; + case Intrinsic::prefetch: + break; // Simply strip out prefetches on unsupported architectures + case Intrinsic::dbg_stoppoint: case Intrinsic::dbg_region_start: case Intrinsic::dbg_region_end: -- 2.34.1