diff options
| author | Reid Kleckner <rnk@google.com> | 2015-10-09 01:11:37 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2015-10-09 01:11:37 +0000 |
| commit | b510401785a1b37df5c42031ad9784b337d89683 (patch) | |
| tree | c4386d23da95941f1ebf675e9416e41e3fed570e /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | 36f69229e670e0ef545cf95ae3241e94fa7e6090 (diff) | |
| download | bcm5719-llvm-b510401785a1b37df5c42031ad9784b337d89683.tar.gz bcm5719-llvm-b510401785a1b37df5c42031ad9784b337d89683.zip | |
Revert "Revert r248959, "[WinEH] Emit int3 after noreturn calls on Win64""
This reverts commit r249032.
TODO write commit msg
llvm-svn: 249794
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 13b097cfc60..f97edb4ef09 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1569,10 +1569,8 @@ bool FastISel::selectOperator(const User *I, unsigned Opcode) { } case Instruction::Unreachable: - if (TM.Options.TrapUnreachable) - return fastEmit_(MVT::Other, MVT::Other, ISD::TRAP) != 0; - else - return true; + // Nothing to emit. + return true; case Instruction::Alloca: // FunctionLowering has the static-sized case covered. |

