projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix shl folding in DAG combiner.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fold-vector-shl-crash.ll
1
; RUN: llc < %s | FileCheck %s
2
3
;CHECK-LABEL: test
4
define <2 x i256> @test() {
5
%S = shufflevector <2 x i256> zeroinitializer, <2 x i256> <i256 -1, i256 -1>, <2 x i32> <i32 0, i32 2>
6
%B = shl <2 x i256> %S, <i256 -1, i256 -1> ; DAG Combiner crashes here
7
ret <2 x i256> %B
8
}