diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-06-24 21:21:46 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-06-24 21:21:46 +0000 |
commit | 3400678c4baef75ea1bd67e3f03b6f034302e51c (patch) | |
tree | f82348f1d4fb6c245b9c6560f60a7dbe8b8832fe /test/CodeGenCXX/cfi-icall.cpp | |
parent | 7c599a54a6a9431a44112599fc9166a0e381e932 (diff) |
CodeGen: Update Clang to use the new type metadata.
Differential Revision: http://reviews.llvm.org/D21054
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/cfi-icall.cpp')
-rw-r--r-- | test/CodeGenCXX/cfi-icall.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGenCXX/cfi-icall.cpp b/test/CodeGenCXX/cfi-icall.cpp index eceb92a442..c3c6ed309c 100644 --- a/test/CodeGenCXX/cfi-icall.cpp +++ b/test/CodeGenCXX/cfi-icall.cpp @@ -15,9 +15,12 @@ void f(S *s) { void g() { void (*fp)(S *) = f; - // CHECK: call i1 @llvm.bitset.test(i8* {{.*}}, metadata ![[VOIDS:[0-9]+]]) + // CHECK: call i1 @llvm.type.test(i8* {{.*}}, metadata [[VOIDS:![0-9]+]]) fp(0); } -// ITANIUM: !{![[VOIDS]], void (%"struct.(anonymous namespace)::S"*)* @_ZN12_GLOBAL__N_11fEPNS_1SE, i64 0} -// MS: !{![[VOIDS]], void (%"struct.(anonymous namespace)::S"*)* @"\01?f@?A@@YAXPEAUS@?A@@@Z", i64 0} +// ITANIUM: define internal void @_ZN12_GLOBAL__N_11fEPNS_1SE({{.*}} !type [[TS:![0-9]+]] +// MS: define internal void @"\01?f@?A@@YAXPEAUS@?A@@@Z"({{.*}} !type [[TS:![0-9]+]] + +// CHECK: [[VOIDS]] = distinct !{} +// CHECK: [[TS]] = !{i64 0, [[VOIDS]]} |