From: Chris Lattner Date: Mon, 12 Dec 2005 22:51:16 +0000 (+0000) Subject: Accept and ignore prefetches for now X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ac22c83e6853c759a10eb7310b019b22e1d42d16;p=oota-llvm.git Accept and ignore prefetches for now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24678 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 0630fd37ef0..2807abef7c9 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!");