[llvm] b45829d - [AArch64][GlobalISel] update the gisel test case
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 20:44:02 PDT 2022
Author: Luo, Yuanke
Date: 2022-07-07T11:43:42+08:00
New Revision: b45829dcdf473d94f0ab2ff17f869ff9370224f7
URL: https://github.com/llvm/llvm-project/commit/b45829dcdf473d94f0ab2ff17f869ff9370224f7
DIFF: https://github.com/llvm/llvm-project/commit/b45829dcdf473d94f0ab2ff17f869ff9370224f7.diff
LOG: [AArch64][GlobalISel] update the gisel test case
Added:
Modified:
llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir b/llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
index 77365fee9cdf..0df73e81d600 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
@@ -43,10 +43,12 @@ body: |
bb.0:
liveins: $w0
; CHECK-LABEL: name: test_dbg_value
- ; CHECK: [[COPY:%[0-9]+]]:gpr32 = COPY $w0
- ; CHECK: [[ADDWrr:%[0-9]+]]:gpr32 = ADDWrr [[COPY]], [[COPY]]
- ; CHECK: $w0 = COPY [[ADDWrr]]
- ; CHECK: DBG_VALUE [[ADDWrr]], $noreg, !7, !DIExpression(), debug-location !9
+ ; CHECK: liveins: $w0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr32 = COPY $w0
+ ; CHECK-NEXT: [[ADDWrr:%[0-9]+]]:gpr32 = ADDWrr [[COPY]], [[COPY]]
+ ; CHECK-NEXT: $w0 = COPY [[ADDWrr]]
+ ; CHECK-NEXT: DBG_VALUE [[ADDWrr]], $noreg, !7, !DIExpression(), debug-location !9
%0:gpr(s32) = COPY $w0
%1:gpr(s32) = G_ADD %0, %0
$w0 = COPY %1(s32)
@@ -61,8 +63,9 @@ body: |
bb.0:
liveins: $w0
; CHECK-LABEL: name: test_dbg_value_dead
- ; CHECK-NOT: COPY
- ; CHECK: DBG_VALUE %0:gpr, $noreg, !7, !DIExpression(), debug-location !9
+ ; CHECK: liveins: $w0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: DBG_VALUE %0:gpr, $noreg, !7, !DIExpression(), debug-location !9
%0:gpr(s32) = COPY $w0
DBG_VALUE %0(s32), $noreg, !7, !DIExpression(), debug-location !9
...
More information about the llvm-commits
mailing list