File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/test/CodeGen/Hexagon/vect Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66target 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"
77target 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: }
4242b0:
43- switch i32 undef , label %b14 [
43+ switch i32 %cond , label %b14 [
4444 i32 5 , label %b2
4545 i32 3 , label %b1
4646 ]
You can’t perform that action at this time.
0 commit comments