diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-18 23:28:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-18 23:28:01 +0000 |
commit | db4971259ce94cea26e555e9ade82672a3581f5c (patch) | |
tree | 312318482d5af5306e9d2881f4bdc15f3b4664b2 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 8af5ed9e15cfb48817c0f1f46b66b8fe54412036 (diff) |
Teach regular and fast isel to set dead flags on unused implicit defs
on calls and similar instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 5cb739ef4d..d21ba233e9 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -849,6 +849,7 @@ FastISel::FastISel(MachineFunction &mf, TD(*TM.getTargetData()), TII(*TM.getInstrInfo()), TLI(*TM.getTargetLowering()), + TRI(*TM.getRegisterInfo()), IsBottomUp(false) { } |