repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
CodeGen
/
X86
/
x86-64-extend-shift.ll
blob
6852785fd6afff50f5f98edce4970022d1472c48
1
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
2
; Formerly there were two shifts.
3
4
define i64 @baz(i32 %A) nounwind {
5
; CHECK: shlq $49, %rax
6
%tmp1 = shl i32 %A, 17
7
%tmp2 = zext i32 %tmp1 to i64
8
%tmp3 = shl i64 %tmp2, 32
9
ret i64 %tmp3
10
}