projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d27a8
)
Lower prefetch to a noop, patch contributed by Justin Wick!
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:27:23 +0000
(19:27 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:27:23 +0000
(19:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20375
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/IntrinsicLowering.cpp
b/lib/CodeGen/IntrinsicLowering.cpp
index 63ff815291381b682516a1df70af21de4e472a54..85e8ba533fd2e5cb019e8ffd0f9cc55f463bfbe9 100644
(file)
--- 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: