Skip to content

Commit 615afaa

Browse files
committed
[Hexagon] Update tests. NFC.
1 parent e47c26e commit 615afaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/CodeGen/Hexagon/vect/zext-v4i1.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
77
target triple = "hexagon"
88

9-
define i32 @fred(ptr %a0) #0 {
9+
define i32 @fred(ptr %a0, i32 %cond) #0 {
1010
; CHECK-LABEL: fred:
1111
; CHECK: // %bb.0: // %b0
1212
; CHECK-NEXT: {
13-
; CHECK-NEXT: if (p0) jump:nt .LBB0_2
13+
; CHECK-NEXT: p0 = cmp.eq(r1,#5); if (!p0.new) jump:t .LBB0_2
1414
; CHECK-NEXT: }
1515
; CHECK-NEXT: // %bb.1: // %b2
1616
; CHECK-NEXT: {
@@ -40,7 +40,7 @@ define i32 @fred(ptr %a0) #0 {
4040
; CHECK-NEXT: jumpr r31
4141
; CHECK-NEXT: }
4242
b0:
43-
switch i32 undef, label %b14 [
43+
switch i32 %cond, label %b14 [
4444
i32 5, label %b2
4545
i32 3, label %b1
4646
]

0 commit comments

Comments
 (0)