mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Revert the new EH instructions
This reverts commits r241888-r241891, I didn't mean to commit them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -283,9 +283,8 @@ bool llvm::isInstructionTriviallyDead(Instruction *I,
|
||||
const TargetLibraryInfo *TLI) {
|
||||
if (!I->use_empty() || isa<TerminatorInst>(I)) return false;
|
||||
|
||||
// We don't want the landingpad-like instructions removed by anything this
|
||||
// general.
|
||||
if (I->isEHBlock())
|
||||
// We don't want the landingpad instruction removed by anything this general.
|
||||
if (isa<LandingPadInst>(I))
|
||||
return false;
|
||||
|
||||
// We don't want debug info removed by anything this general, unless
|
||||
|
Reference in New Issue
Block a user