mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Lower prefetch to a noop, patch contributed by Justin Wick!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f9d27a8967
commit
0942b7caf1
@ -169,6 +169,9 @@ void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
|
||||
cast<PointerType>(CI->getType())));
|
||||
break;
|
||||
|
||||
case Intrinsic::prefetch:
|
||||
break; // Simply strip out prefetches on unsupported architectures
|
||||
|
||||
case Intrinsic::dbg_stoppoint:
|
||||
case Intrinsic::dbg_region_start:
|
||||
case Intrinsic::dbg_region_end:
|
||||
|
Loading…
x
Reference in New Issue
Block a user