summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2019-12-05 03:17:48 +0000
committerJinsong Ji <jji@us.ibm.com>2019-12-09 19:21:34 +0000
commit3d41a58eac132e43576eb3463c922a45a4ceca34 (patch)
tree51214220dab94851101008de81337e1914681613 /llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
parent6dad5e441db5400a9716fd3c6f943ceeeecdfe4e (diff)
downloadbcm5719-llvm-3d41a58eac132e43576eb3463c922a45a4ceca34.tar.gz
bcm5719-llvm-3d41a58eac132e43576eb3463c922a45a4ceca34.zip
[PowerPC][NFC] Rename ANDI(S)o8 to ANDI(S)8o
Summary: This is found during https://reviews.llvm.org/D70758 All the other record forms are having suffix o at the end. ANDIo8 and ANDISo8 are the only two that put o before 8. This patch rename them to be consistent with others. Reviewers: #powerpc, hfinkel, nemanjai, lei, steven.zhang, echristo, jhibbits, joerg Reviewed By: jhibbits Subscribers: wuzish, hiraditya, kbarton, shchenz, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70928
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMIPeephole.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMIPeephole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
index f42b4bcfc3c..e503e8a7486 100644
--- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
@@ -908,7 +908,7 @@ bool PPCMIPeephole::simplifyCode(void) {
MI.RemoveOperand(4);
MI.RemoveOperand(3);
MI.getOperand(2).setImm(0);
- MI.setDesc(TII->get(Is64Bit ? PPC::ANDIo8 : PPC::ANDIo));
+ MI.setDesc(TII->get(Is64Bit ? PPC::ANDI8o : PPC::ANDIo));
}
Simplified = true;
NumRotatesCollapsed++;
OpenPOWER on IntegriCloud