diff options
| author | Chen Zheng <czhengsz@cn.ibm.com> | 2019-07-03 01:49:03 +0000 |
|---|---|---|
| committer | Chen Zheng <czhengsz@cn.ibm.com> | 2019-07-03 01:49:03 +0000 |
| commit | dfdccbb26ba35ab14e099e8d4d7a6f3150fb3c41 (patch) | |
| tree | b3d7f3d66f82158b7a2cff10d4671ec7f7722d0d /llvm/test/CodeGen/PowerPC/addi-licm.ll | |
| parent | ab758ba128c46ba30cad058b89991852f7be5543 (diff) | |
| download | bcm5719-llvm-dfdccbb26ba35ab14e099e8d4d7a6f3150fb3c41.tar.gz bcm5719-llvm-dfdccbb26ba35ab14e099e8d4d7a6f3150fb3c41.zip | |
[PowerPC] exclude ICmpZero in LSR if icmp can be replaced in later hardware loop.
Differential Revision: https://reviews.llvm.org/D63477
llvm-svn: 364993
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/addi-licm.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/addi-licm.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/addi-licm.ll b/llvm/test/CodeGen/PowerPC/addi-licm.ll index d0178a8aec0..e0314d19bd3 100644 --- a/llvm/test/CodeGen/PowerPC/addi-licm.ll +++ b/llvm/test/CodeGen/PowerPC/addi-licm.ll @@ -18,8 +18,8 @@ entry: ; CHECK: addi [[REG1:[0-9]+]], 1, ; CHECK: addi [[REG2:[0-9]+]], 1, ; CHECK: %for.body.i -; CHECK-DAG: lfsx {{[0-9]+}}, [[REG1]], -; CHECK-DAG: lfsx {{[0-9]+}}, [[REG2]], +; CHECK-DAG: lfs {{[0-9]+}}, 0([[REG1]]) +; CHECK-DAG: lfs {{[0-9]+}}, 0([[REG2]]) ; CHECK: blr ; PIP-LABEL: @foo |

