diff options
author | Colin LeMahieu <colinl@codeaurora.org> | 2014-11-25 18:20:52 +0000 |
---|---|---|
committer | Colin LeMahieu <colinl@codeaurora.org> | 2014-11-25 18:20:52 +0000 |
commit | 902157c2497c0806f407d78f63d439cd94fc6136 (patch) | |
tree | 4d5982e79d451fbe692b51367e717cb5ebc81e88 /llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp | |
parent | d17bce2e9fb3861fd663c7464d9ec6110a0791a1 (diff) | |
download | bcm5719-llvm-902157c2497c0806f407d78f63d439cd94fc6136.tar.gz bcm5719-llvm-902157c2497c0806f407d78f63d439cd94fc6136.zip |
[Hexagon] Replacing cmp* instructions with ones that contain encoding bits.
llvm-svn: 222771
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp b/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp index 24aacdffce2..39d4452cef7 100644 --- a/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp +++ b/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp @@ -541,15 +541,15 @@ CountValue *HexagonHardwareLoops::getLoopTripCount(MachineLoop *L, switch (CondOpc) { case Hexagon::CMPEQri: - case Hexagon::CMPEQrr: + case Hexagon::C2_cmpeq: Cmp = !Negated ? Comparison::EQ : Comparison::NE; break; case Hexagon::CMPGTUri: - case Hexagon::CMPGTUrr: + case Hexagon::C2_cmpgtu: Cmp = !Negated ? Comparison::GTu : Comparison::LEu; break; case Hexagon::CMPGTri: - case Hexagon::CMPGTrr: + case Hexagon::C2_cmpgt: Cmp = !Negated ? Comparison::GTs : Comparison::LEs; break; // Very limited support for byte/halfword compares. |