mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
4d020cd8e5
llvm-svn: 130818
11 lines
281 B
LLVM
11 lines
281 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
|
; Formerly there were two shifts.
|
|
|
|
define i64 @baz(i32 %A) nounwind {
|
|
; CHECK: shlq $49, %r
|
|
%tmp1 = shl i32 %A, 17
|
|
%tmp2 = zext i32 %tmp1 to i64
|
|
%tmp3 = shl i64 %tmp2, 32
|
|
ret i64 %tmp3
|
|
}
|