mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
Ignore the lifetime intrinsics in fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b923d9ee9
commit
9b5d6b860c
@ -567,6 +567,10 @@ bool FastISel::SelectCall(const User *I) {
|
||||
// Handle selected intrinsic function calls.
|
||||
switch (F->getIntrinsicID()) {
|
||||
default: break;
|
||||
// At -O0 we don't care about the lifetime intrinsics.
|
||||
case Intrinsic::lifetime_start:
|
||||
case Intrinsic::lifetime_end:
|
||||
return true;
|
||||
case Intrinsic::dbg_declare: {
|
||||
const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call);
|
||||
if (!DIVariable(DI->getVariable()).Verify() ||
|
||||
|
Loading…
Reference in New Issue
Block a user