mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-25 03:55:25 +00:00
GlobalISel: Only set FailedISel on dropped dbg intrinsics when using fallback
It's easier to test the non-fallback path if we just drop these intrinsics for now, like we did before we added the fallback path. We'll obviously need to fix this properly, but the fixme for that is already here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292547 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aaeaea1399
commit
09f3ac9e7b
@ -523,8 +523,8 @@ bool IRTranslator::translateKnownIntrinsic(const CallInst &CI, Intrinsic::ID ID,
|
||||
case Intrinsic::dbg_declare:
|
||||
case Intrinsic::dbg_value:
|
||||
// FIXME: these obviously need to be supported properly.
|
||||
MF->getProperties().set(
|
||||
MachineFunctionProperties::Property::FailedISel);
|
||||
if (!TPC->isGlobalISelAbortEnabled())
|
||||
MF->getProperties().set(MachineFunctionProperties::Property::FailedISel);
|
||||
return true;
|
||||
case Intrinsic::uadd_with_overflow:
|
||||
return translateOverflowIntrinsic(CI, TargetOpcode::G_UADDE, MIRBuilder);
|
||||
|
Loading…
x
Reference in New Issue
Block a user