brintos

brintos / llvm-project-archived public Read only

0
0
Text · 465 B · b73da16 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s3; Formerly there were two shifts.4 5define i64 @baz(i32 %A) nounwind {6; CHECK-LABEL: baz:7; CHECK:       ## %bb.0:8; CHECK-NEXT:    movl %edi, %eax9; CHECK-NEXT:    shlq $49, %rax10; CHECK-NEXT:    retq11  %tmp1 = shl i32 %A, 1712  %tmp2 = zext i32 %tmp1 to i6413  %tmp3 = shl i64 %tmp2, 3214  ret i64 %tmp315}16