summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/compress.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/RISCV/compress.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/compress.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/RISCV/compress.ll b/llvm/test/CodeGen/RISCV/compress.ll
index b58adb848fc..6ee215dad42 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: addi a2, a0, 1
+; RV32IC: c.srai a1, 9
+; RV32IC-NEXT: 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
OpenPOWER on IntegriCloud