projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merging r258221:
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
vec_shift7.ll
1
; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
2
3
4
; Verify that we don't fail when shift by zero is encountered.
5
6
define i64 @test1(<2 x i64> %a) {
7
entry:
8
%c = shl <2 x i64> %a, <i64 0, i64 2>
9
%d = extractelement <2 x i64> %c, i32 0
10
ret i64 %d
11
}
12
; CHECK-LABEL: test1