blob: cdf828976be48c626002e0ad608b1ff854691b56 [file] [log] [blame]
Michael Zolotukhin03dd1082015-03-06 01:13:01 +00001; 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
6define i64 @test1(<2 x i64> %a) {
7entry:
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