diff options
author | Colin LeMahieu <colinl@codeaurora.org> | 2014-12-19 20:29:29 +0000 |
---|---|---|
committer | Colin LeMahieu <colinl@codeaurora.org> | 2014-12-19 20:29:29 +0000 |
commit | 0f850bde0e5c2866c0c03de7f6f9254d24ae1e38 (patch) | |
tree | aedbff89e18f50ac8cefe56bd7af5be1f0273a69 /llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp | |
parent | 0428a5786e5578552e7f660ba133aecf95d724eb (diff) | |
download | bcm5719-llvm-0f850bde0e5c2866c0c03de7f6f9254d24ae1e38.tar.gz bcm5719-llvm-0f850bde0e5c2866c0c03de7f6f9254d24ae1e38.zip |
[Hexagon] Removing old variants of instructions and updating references.
llvm-svn: 224612
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp b/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp index a91c2e1a32f..e8d8f1497bd 100644 --- a/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp +++ b/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp @@ -168,18 +168,18 @@ void HexagonFixupHwLoops::convertLoopInstr(MachineFunction &MF, // First, set the LC0 with the trip count. if (MII->getOperand(1).isReg()) { // Trip count is a register - BuildMI(*MBB, MII, DL, TII->get(Hexagon::TFCR), Hexagon::LC0) + BuildMI(*MBB, MII, DL, TII->get(Hexagon::A2_tfrrcr), Hexagon::LC0) .addReg(MII->getOperand(1).getReg()); } else { // Trip count is an immediate. BuildMI(*MBB, MII, DL, TII->get(Hexagon::A2_tfrsi), Scratch) .addImm(MII->getOperand(1).getImm()); - BuildMI(*MBB, MII, DL, TII->get(Hexagon::TFCR), Hexagon::LC0) + BuildMI(*MBB, MII, DL, TII->get(Hexagon::A2_tfrrcr), Hexagon::LC0) .addReg(Scratch); } // Then, set the SA0 with the loop start address. BuildMI(*MBB, MII, DL, TII->get(Hexagon::CONST32_Label), Scratch) .addMBB(MII->getOperand(0).getMBB()); - BuildMI(*MBB, MII, DL, TII->get(Hexagon::TFCR), Hexagon::SA0) + BuildMI(*MBB, MII, DL, TII->get(Hexagon::A2_tfrrcr), Hexagon::SA0) .addReg(Scratch); } |