diff options
| author | Luis Marques <luismarques@lowrisc.org> | 2019-09-17 09:43:08 +0000 |
|---|---|---|
| committer | Luis Marques <luismarques@lowrisc.org> | 2019-09-17 09:43:08 +0000 |
| commit | e38695a0255c9e7b53639f349f8101bae1ce5c04 (patch) | |
| tree | ef761937808dba096e3e166b07e44a3bc8337d2e /llvm/test/CodeGen/RISCV/compress.ll | |
| parent | e80fcf03407acd6429d07e4a45185ac546ffa37c (diff) | |
| download | bcm5719-llvm-e38695a0255c9e7b53639f349f8101bae1ce5c04.tar.gz bcm5719-llvm-e38695a0255c9e7b53639f349f8101bae1ce5c04.zip | |
Patch from Phabricator
llvm-svn: 372092
Diffstat (limited to 'llvm/test/CodeGen/RISCV/compress.ll')
| -rw-r--r-- | llvm/test/CodeGen/RISCV/compress.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/RISCV/compress.ll b/llvm/test/CodeGen/RISCV/compress.ll index 6ee215dad42..b58adb848fc 100644 --- a/llvm/test/CodeGen/RISCV/compress.ll +++ b/llvm/test/CodeGen/RISCV/compress.ll @@ -19,10 +19,10 @@ define i32 @simple_arith(i32 %a, i32 %b) nounwind { ; RV32IC-LABEL: simple_arith: -; RV32IC: c.srai a1, 9 -; RV32IC-NEXT: addi a2, a0, 1 +; RV32IC: addi a2, a0, 1 ; RV32IC-NEXT: c.andi a2, 11 ; RV32IC-NEXT: c.slli a2, 7 +; RV32IC-NEXT: c.srai a1, 9 ; RV32IC-NEXT: c.add a1, a2 ; RV32IC-NEXT: sub a0, a1, a0 ; RV32IC-NEXT: c.jr ra |

