Sign in
swiftshader
/
SwiftShader
/
eb0a25a189b75d950ae4f87c00f8d63f190d82a0
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
x86-64-extend-shift.ll
blob: 6ebaeee36697135bac5b54340fbb39f5d6a340b5 [
file
] [
log
] [
blame
]
; 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
}