[AVX512] Bring back vector-shuffle lowering support through broadcasts
[oota-llvm.git] / test / CodeGen / X86 / byval6.ll
1 ; RUN: llc < %s -mcpu=generic -march=x86 | grep add | not grep 16
2
3         %struct.W = type { x86_fp80, x86_fp80 }
4 @B = global %struct.W { x86_fp80 0xK4001A000000000000000, x86_fp80 0xK4001C000000000000000 }, align 32
5 @.cpx = internal constant %struct.W { x86_fp80 0xK4001E000000000000000, x86_fp80 0xK40028000000000000000 }
6
7 define i32 @main() nounwind  {
8 entry:
9         tail call void (i32, ...)* @bar( i32 3, %struct.W* byval  @.cpx ) nounwind 
10         tail call void (i32, ...)* @baz( i32 3, %struct.W* byval  @B ) nounwind 
11         ret i32 undef
12 }
13
14 declare void @bar(i32, ...)
15
16 declare void @baz(i32, ...)