diff options
| author | Justin Bogner <mail@justinbogner.com> | 2017-01-20 00:24:30 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2017-01-20 00:24:30 +0000 |
| commit | 680663931cd91a5d3bed3846c654951c2d771db9 (patch) | |
| tree | f013cbeca3996c536cabf74fc9d8b3c01068e00e /llvm/lib/CodeGen | |
| parent | 698f0deea90697586621fd2d3023228534f5252d (diff) | |
| download | bcm5719-llvm-680663931cd91a5d3bed3846c654951c2d771db9.tar.gz bcm5719-llvm-680663931cd91a5d3bed3846c654951c2d771db9.zip | |
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
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp index 821ebf97ce5..1cfe5345c65 100644 --- a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp +++ b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp @@ -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); |

