From ac22c83e6853c759a10eb7310b019b22e1d42d16 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Dec 2005 22:51:16 +0000 Subject: [PATCH] Accept and ignore prefetches for now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24678 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 +++ 1 file changed, 3 insertions(+) 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!"); -- 2.34.1