forked from OSchip/llvm-project
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. llvm-svn: 292547
This commit is contained in:
parent
698f0deea9
commit
680663931c
|
@ -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…
Reference in New Issue