[ARM] Better OR's for MVE compares
[llvm-core.git] / test / LTO / X86 / remangle_intrinsics_tbaa.ll
blobcac72f4330b3afe4f107179b0bae41ecd19b74f6
1 ; RUN: llvm-as %s -o %t1.bc
2 ; RUN: llvm-as %p/Inputs/remangle_intrinsics_tbaa.ll -o %t2.bc
3 ; RUN: llvm-link -disable-lazy-loading %t2.bc %t1.bc -S | FileCheck %s
5 ; Verify that we correctly rename the intrinsic and don't crash
6 ; CHECK: @llvm.masked.store.v4p0s_some_named_struct.0s.p0v4p0s_some_named_struct.0s
8 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
9 target triple = "x86_64-apple-macosx10.11.0"
11 %some_named_struct = type { i8 }
13 define void @foo(%some_named_struct*) {
14   call void @llvm.masked.store.v4p0some_named_struct.p0v4p0some_named_struct(<4 x %some_named_struct*> undef, <4 x %some_named_struct*>* undef, i32 8, <4 x i1> undef), !tbaa !5
15   ret void
18 declare void @llvm.masked.store.v4p0some_named_struct.p0v4p0some_named_struct(<4 x %some_named_struct*>, <4 x %some_named_struct*>*, i32, <4 x i1>) #1
20 !5 = !{!6, !6, i64 0}
21 !6 = !{!"any pointer", !7, i64 0}
22 !7 = !{!"omnipotent char", !8, i64 0}
23 !8 = !{!"Simple C/C++ TBAA"}