aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-12 22:51:16 +0000
committerChris Lattner <sabre@nondot.org>2005-12-12 22:51:16 +0000
commitac22c83e6853c759a10eb7310b019b22e1d42d16 (patch)
tree29ea18ebb00a903186905e1c3d6af09308d82798 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent58f7963b8b3cb8894623a7d7663cc54005fea8f9 (diff)
Accept and ignore prefetches for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 0630fd37ef..2807abef7c 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -992,6 +992,9 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
getValue(I.getOperand(1)).getValueType(),
getValue(I.getOperand(1))));
return 0;
+ case Intrinsic::prefetch:
+ // FIXME: Currently discarding prefetches.
+ return 0;
default:
std::cerr << I;
assert(0 && "This intrinsic is not implemented yet!");