mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
Codegen support (stripped out) for the annotate attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2acf840a7
commit
24e5aada7d
@ -711,6 +711,9 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
|
||||
case Intrinsic::eh_filter:
|
||||
break; // Simply strip out debugging and eh intrinsics
|
||||
|
||||
case Intrinsic::var_annotation:
|
||||
break; // Strip out annotate intrinsic
|
||||
|
||||
case Intrinsic::memcpy_i32:
|
||||
case Intrinsic::memcpy_i64: {
|
||||
static Constant *MemcpyFCache = 0;
|
||||
|
@ -2774,6 +2774,10 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
||||
case Intrinsic::prefetch:
|
||||
// FIXME: Currently discarding prefetches.
|
||||
return 0;
|
||||
|
||||
case Intrinsic::var_annotation:
|
||||
// Discard annotate attributes
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user