Home | History | Annotate | Download | only in X86
      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
     13