brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 418cbb0 Raw
49 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-apple-macosx | FileCheck %s3 4; Cmp lowering should not look past the truncate unless the high bits are known5; zero.6; rdar://120278257 8define void @foo(i8 %arg4, i32 %arg5, ptr %arg14) nounwind {9; CHECK-LABEL: foo:10; CHECK:       ## %bb.0: ## %bb11; CHECK-NEXT:    andl $32, %edi12; CHECK-NEXT:    movb $81, %al13; CHECK-NEXT:    subb %dil, %al14; CHECK-NEXT:    testl %esi, %edi15; CHECK-NEXT:    movzbl %al, %eax16; CHECK-NEXT:    movl $1, %ecx17; CHECK-NEXT:    cmovnel %eax, %ecx18; CHECK-NEXT:    xorb $81, %cl19; CHECK-NEXT:    movzbl %cl, %eax20; CHECK-NEXT:    addl $2062143348, %eax ## imm = 0x7AE9CF7421; CHECK-NEXT:    movl %eax, (%rdx)22; CHECK-NEXT:    retq23bb:24  %tmp48 = zext i8 %arg4 to i3225  %tmp49 = and i32 %tmp48, 3226  %tmp50 = add i32 %tmp49, 159337164327  %tmp55 = sub i32 %tmp50, 028  %tmp56 = add i32 %tmp55, 778753829  %tmp57 = xor i32 %tmp56, 160115918130  %tmp58 = xor i32 %arg5, 160115918131  %tmp59 = and i32 %tmp57, %tmp5832  %tmp60 = add i32 %tmp59, -126390095833  %tmp67 = sub i32 %tmp60, 034  %tmp103 = xor i32 %tmp56, 1335  %tmp104 = trunc i32 %tmp103 to i836  %tmp105 = sub i8 0, %tmp10437  %tmp106 = add i8 %tmp105, -10338  %tmp113 = sub i8 %tmp106, 039  %tmp114 = add i8 %tmp113, -7240  %tmp141 = icmp ne i32 %tmp67, -126390095841  %tmp142 = select i1 %tmp141, i8 %tmp114, i8 142  %tmp143 = xor i8 %tmp142, 8143  %tmp144 = zext i8 %tmp143 to i3244  %tmp145 = add i32 %tmp144, 206214334845  %tmp152 = sub i32 %tmp145, 046  store i32 %tmp152, ptr %arg1447  ret void48}49