diff options
author | Eric Christopher <echristo@gmail.com> | 2015-02-02 22:28:44 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-02-02 22:28:44 +0000 |
commit | 6098f150a19957168e0d8703e966ae160e023a2a (patch) | |
tree | 42fca351547c2d95fa249d2186786acfa9959536 /llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp | |
parent | d45837155d813f847a9e8c322490e5893b5fb2b5 (diff) | |
download | bcm5719-llvm-6098f150a19957168e0d8703e966ae160e023a2a.tar.gz bcm5719-llvm-6098f150a19957168e0d8703e966ae160e023a2a.zip |
Remove unused class variables and update all callers/uses from
the HexagonSplitTFRCondSet pass. Use the subtarget off the machine
function at the same time.
llvm-svn: 227878
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp index 7245ce6c801..860a46c57ef 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp +++ b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp @@ -151,7 +151,6 @@ void HexagonPassConfig::addPreSched2() { } void HexagonPassConfig::addPreEmitPass() { - const HexagonTargetMachine &TM = getHexagonTargetMachine(); bool NoOpt = (getOptLevel() == CodeGenOpt::None); if (!NoOpt) @@ -161,7 +160,7 @@ void HexagonPassConfig::addPreEmitPass() { addPass(createHexagonExpandPredSpillCode(), false); // Split up TFRcondsets into conditional transfers. - addPass(createHexagonSplitTFRCondSets(TM), false); + addPass(createHexagonSplitTFRCondSets(), false); // Create Packets. if (!NoOpt) { |