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 | 86936504220e7769cf95c2c18e1ee38cdc1b7428 (patch) | |
tree | 49497263f665639a79e468655a9d3dc46bffaf06 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 0bf5ee74c473a394e0a484ad8b979f0972c75345 (diff) | |
download | bcm5719-llvm-86936504220e7769cf95c2c18e1ee38cdc1b7428.tar.gz bcm5719-llvm-86936504220e7769cf95c2c18e1ee38cdc1b7428.zip |
Teach regular and fast isel to set dead flags on unused implicit defs
on calls and similar instructions.
llvm-svn: 106353
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 5cb739ef4d5..d21ba233e9a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/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) { } |