diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-28 19:27:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-28 19:27:23 +0000 |
commit | 0942b7caf1b5fde959301042129d25f1e7b86b28 (patch) | |
tree | bba98419a8b0fe7f5fea43bc5dd4bfeeb558b70a /lib/CodeGen/IntrinsicLowering.cpp | |
parent | f9d27a896756c7852e13ac77d4d37469184e9b75 (diff) | |
download | external_llvm-0942b7caf1b5fde959301042129d25f1e7b86b28.zip external_llvm-0942b7caf1b5fde959301042129d25f1e7b86b28.tar.gz external_llvm-0942b7caf1b5fde959301042129d25f1e7b86b28.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 63ff815..85e8ba5 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/lib/CodeGen/IntrinsicLowering.cpp @@ -169,6 +169,9 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { cast<PointerType>(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: |