brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · e38840f Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64 %s -start-before=x86-isel -o - | FileCheck %s3 4define i32 @add_shl_or_disjoint(i32 %x) {5; CHECK-LABEL: add_shl_or_disjoint:6; CHECK:       # %bb.0:7; CHECK-NEXT:    # kill: def $edi killed $edi def $rdi8; CHECK-NEXT:    leal 165036822(,%rdi,4), %eax9; CHECK-NEXT:    retq10  %or = or disjoint i32 %x, 402758452911  %shl = shl i32 %or, 212  %add = add i32 %shl, 123456789013  ret i32 %add14}15 16