File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
llvm/test/CodeGen/AArch64/GlobalISel Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,26 @@ body: |
2323 $w0 = COPY %zext
2424 RET_ReallyLR implicit $w0
2525
26+
27+ ...
2628---
2729name : icmp_differentsign
2830body : |
2931 bb.0:
3032 liveins: $w0, $w1
3133
34+ ; CHECK-LABEL: name: icmp_differentsign
35+ ; CHECK: liveins: $w0, $w1
36+ ; CHECK-NEXT: {{ $}}
37+ ; CHECK-NEXT: %y:_(s32) = COPY $w1
38+ ; CHECK-NEXT: %cmp:_(s1) = G_ICMP intpred(eq), %y(s32), %y
39+ ; CHECK-NEXT: %zext:_(s32) = G_ZEXT %cmp(s1)
40+ ; CHECK-NEXT: $w0 = COPY %zext(s32)
41+ ; CHECK-NEXT: RET_ReallyLR implicit $w0
3242 %x:_(s32) = COPY $w0
3343 %y:_(s32) = COPY $w1
3444 %cmp:_(s1) = G_ICMP intpred(eq), %y:_(s32), %y:_
3545 %zext:_(s32) = G_ZEXT %cmp:_(s1)
3646 $w0 = COPY %zext
3747 RET_ReallyLR implicit $w0
48+ ---
You can’t perform that action at this time.
0 commit comments