Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=corei7-avx | FileCheck %s
      2 
      3 ;CHECK: @test
      4 ; No need to load from memory. The operand will be loaded as part of th AND instr.
      5 ;CHECK-NOT: vmovaps
      6 ;CHECK: vandps
      7 ;CHECK: ret
      8 
      9 define void @test1(<8 x i32>* %p0, <8 x i32> %in1) nounwind {
     10 entry:
     11   %in0 = load <8 x i32>* %p0, align 2
     12   %a = and <8 x i32> %in0, %in1
     13   store <8 x i32> %a, <8 x i32>* undef
     14   ret void
     15 }
     16 
     17