brintos

brintos / llvm-project-archived public Read only

0
0
Text · 722 B · c02342f Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+bmi | FileCheck %s3 4define i64 @pr90730(i64 %x, i64 %y, ptr %p) {5; CHECK-LABEL: pr90730:6; CHECK:       # %bb.0: # %entry7; CHECK-NEXT:    movabsq $33181731808, %rax # imm = 0x7B9C90BE08; CHECK-NEXT:    andnq %rax, %rdi, %rax9; CHECK-NEXT:    movq $0, (%rdx)10; CHECK-NEXT:    retq11entry:12  %ext = and i64 %y, 113  %xor1 = xor i64 %ext, 3318173181714  %and1 = and i64 %xor1, %x15  store i64 %and1, ptr %p, align 416  %v = load i64, ptr %p, align 417  %and2 = and i64 %v, 3318173180818  %xor2 = xor i64 %and2, 3318173180819  store i64 0, ptr %p, align 420  ret i64 %xor221}22