[PATCH] D83928: [ARM][TEST] Add a new test case of add-imm & sub-imm on armv6

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 22:13:38 PDT 2020


MaskRay added inline comments.


================
Comment at: llvm/test/CodeGen/ARM/armv6-add-sub-imm.ll:6
+define i32 @sub0(i32 %0) {
+; CHECK-LABEL: sub0
+; CHECK:       @ %bb.0:
----------------
`; CHECK-LABEL: sub0:`


================
Comment at: llvm/test/CodeGen/ARM/armv6-add-sub-imm.ll:17
+; CHECK:       ldr [[R1:r[0-1]+]], [[CONST:.[A-Z0-9_]+]]
+; CHECK:       add [[R0:r[0-1]+]], [[R0:r[0-1]+]], [[R1:r[0-1]+]]
+; CHECK:       [[CONST]]
----------------
Add `-NEXT:` whenever appropriate


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83928/new/

https://reviews.llvm.org/D83928





More information about the llvm-commits mailing list