Ehsan Amiri | a538b0f | 2016-08-03 18:17:35 +0000 | [diff] [blame] | 1 | ; RUN: llc -verify-machineinstrs -mcpu=ppc64le -mtriple=powerpc64le-unknown-linux-gnu < %s |
Nirav Dave | 1f51c33 | 2016-04-15 15:01:38 +0000 | [diff] [blame] | 2 | |
| 3 | ; Function Attrs: argmemonly nounwind |
Daniel Neilson | 1e68724 | 2018-01-19 17:13:12 +0000 | [diff] [blame] | 4 | declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i1) #0 |
Nirav Dave | 1f51c33 | 2016-04-15 15:01:38 +0000 | [diff] [blame] | 5 | |
| 6 | ; Function Attrs: nounwind |
| 7 | define internal fastcc void @foo() unnamed_addr #1 align 2 { |
| 8 | entry: |
Daniel Neilson | 1e68724 | 2018-01-19 17:13:12 +0000 | [diff] [blame] | 9 | call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 undef, i8* align 8 null, i64 16, i1 false) |
Nirav Dave | 1f51c33 | 2016-04-15 15:01:38 +0000 | [diff] [blame] | 10 | %0 = load <2 x i64>, <2 x i64>* null, align 8 |
| 11 | %1 = extractelement <2 x i64> %0, i32 1 |
| 12 | %.fca.1.insert159.i = insertvalue [2 x i64] undef, i64 %1, 1 |
| 13 | tail call fastcc void @bar([2 x i64] undef, [2 x i64] %.fca.1.insert159.i) #2 |
| 14 | unreachable |
| 15 | } |
| 16 | |
| 17 | ; Function Attrs: nounwind |
| 18 | declare fastcc void @bar([2 x i64], [2 x i64]) unnamed_addr #1 align 2 |
| 19 | |
| 20 | attributes #0 = { argmemonly nounwind } |
| 21 | attributes #1 = { nounwind "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="ppc64le" "target-features"="+altivec,+bpermd,+crypto,+direct-move,+extdiv,+power8-vector,+vsx,-qpx" "unsafe-fp-math"="false" "use-soft-float"="false" } |
| 22 | attributes #2 = { nounwind } |
| 23 | |
| 24 | !llvm.ident = !{!0} |
| 25 | |
| 26 | !0 = !{!"clang version 3.9.0 (trunk) (llvm/trunk 266222)"} |