From: Chris Lattner Date: Mon, 28 Feb 2005 19:27:23 +0000 (+0000) Subject: Lower prefetch to a noop, patch contributed by Justin Wick! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0942b7caf1b5fde959301042129d25f1e7b86b28;p=oota-llvm.git 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 --- 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: