diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-03-31 13:35:12 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-03-31 13:35:12 +0000 |
commit | c05dff17929f47a37b43cfcd3bbfc7d865ea5557 (patch) | |
tree | d8dde58db96b7936d28cc3bb56b59a291ecba4df /llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | |
parent | 8c4fd2bdebac385bf935e51c69b3619d836a9c4f (diff) | |
download | bcm5719-llvm-c05dff17929f47a37b43cfcd3bbfc7d865ea5557.tar.gz bcm5719-llvm-c05dff17929f47a37b43cfcd3bbfc7d865ea5557.zip |
Expand MUX instructions early on Hexagon
This time with all files included.
llvm-svn: 233696
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp b/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp index fbf1ca90055..ff4bcadaabb 100644 --- a/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp +++ b/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp @@ -845,8 +845,7 @@ bool HexagonInstrInfo::isNewValueStore(unsigned Opcode) const { return ((F >> HexagonII::NVStorePos) & HexagonII::NVStoreMask); } -int HexagonInstrInfo:: -getMatchingCondBranchOpcode(int Opc, bool invertPredicate) const { +int HexagonInstrInfo::getCondOpcode(int Opc, bool invertPredicate) const { enum Hexagon::PredSense inPredSense; inPredSense = invertPredicate ? Hexagon::PredSense_false : Hexagon::PredSense_true; @@ -884,7 +883,7 @@ PredicateInstruction(MachineInstr *MI, // This will change MI's opcode to its predicate version. // However, its operand list is still the old one, i.e. the // non-predicate one. - MI->setDesc(get(getMatchingCondBranchOpcode(Opc, invertJump))); + MI->setDesc(get(getCondOpcode(Opc, invertJump))); int oper = -1; unsigned int GAIdx = 0; |