|
| 1 | +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 |
| 2 | +; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s |
| 3 | + |
| 4 | +define void @PR161693() #0 { |
| 5 | +; CHECK-LABEL: PR161693: |
| 6 | +; CHECK: # %bb.0: # %start |
| 7 | +; CHECK-NEXT: movzbl (%rax), %eax |
| 8 | +; CHECK-NEXT: andb $-33, %al |
| 9 | +; CHECK-NEXT: addb $-71, %al |
| 10 | +; CHECK-NEXT: .p2align 4 |
| 11 | +; CHECK-NEXT: .LBB0_1: # %loop |
| 12 | +; CHECK-NEXT: # =>This Inner Loop Header: Depth=1 |
| 13 | +; CHECK-NEXT: cmpb $-6, %al |
| 14 | +; CHECK-NEXT: setb %cl |
| 15 | +; CHECK-NEXT: leal (%rcx,%rcx), %edx |
| 16 | +; CHECK-NEXT: orb %cl, %dl |
| 17 | +; CHECK-NEXT: leal (,%rdx,4), %ecx |
| 18 | +; CHECK-NEXT: orb %dl, %cl |
| 19 | +; CHECK-NEXT: je .LBB0_1 |
| 20 | +; CHECK-NEXT: # %bb.2: # %exit |
| 21 | +; CHECK-NEXT: retq |
| 22 | +start: |
| 23 | + br label %loop |
| 24 | + |
| 25 | +loop: |
| 26 | + %.val.i.i89 = load <16 x i8>, ptr poison, align 1 |
| 27 | + %.not49.i = icmp ult <16 x i8> zeroinitializer, splat (i8 -10) |
| 28 | + %i = and <16 x i8> %.val.i.i89, splat (i8 -33) |
| 29 | + %i1 = add <16 x i8> %i, splat (i8 -71) |
| 30 | + %.not51.i = icmp ult <16 x i8> %i1, splat (i8 -6) |
| 31 | + %.not46.i = and <16 x i1> %.not49.i, %.not51.i |
| 32 | + %i2 = bitcast <16 x i1> %.not46.i to i16 |
| 33 | + %_0.i = icmp eq i16 %i2, 0 |
| 34 | + br i1 %_0.i, label %loop, label %exit |
| 35 | + |
| 36 | +exit: |
| 37 | + ret void |
| 38 | +} |
| 39 | + |
| 40 | +attributes #0 = { "target-features"="+soft-float" } |
0 commit comments