Accept and ignore prefetches for now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-12-12 22:51:16 +00:00
parent 58f7963b8b
commit ac22c83e68

View File

@ -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!");