diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-12 22:51:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-12 22:51:16 +0000 |
commit | ac22c83e6853c759a10eb7310b019b22e1d42d16 (patch) | |
tree | 29ea18ebb00a903186905e1c3d6af09308d82798 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 58f7963b8b3cb8894623a7d7663cc54005fea8f9 (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.cpp | 3 |
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!"); |