summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-15 04:12:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-15 04:12:14 +0000
commita23916f1cd749e44813ae4b0541987b1de189221 (patch)
tree3c5a1f9c5bbafe0b8653a6b1cee0256b45291c76 /clang/test
parent0613751dcb3f77730567146d4364785a7e5c06a9 (diff)
downloadbcm5719-llvm-a23916f1cd749e44813ae4b0541987b1de189221.tar.gz
bcm5719-llvm-a23916f1cd749e44813ae4b0541987b1de189221.zip
Update test to make it robust to migration to typeless pointers
llvm-svn: 229269
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGenCXX/new.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp
index 5138c1bdb56..30a8c23bddf 100644
--- a/clang/test/CodeGenCXX/new.cpp
+++ b/clang/test/CodeGenCXX/new.cpp
@@ -196,7 +196,7 @@ namespace test15 {
struct A { A(); ~A(); };
// CHECK-LABEL: define void @_ZN6test156test0aEPv(
- // CHECK: [[P:%.*]] = load i8*
+ // CHECK: [[P:%.*]] = load i8**
// CHECK-NOT: icmp eq i8* [[P]], null
// CHECK-NOT: br i1
// CHECK: [[T0:%.*]] = bitcast i8* [[P]] to [[A:%.*]]*
@@ -206,7 +206,7 @@ namespace test15 {
}
// CHECK-LABEL: define void @_ZN6test156test0bEPv(
- // CHECK: [[P0:%.*]] = load i8*
+ // CHECK: [[P0:%.*]] = load i8**
// CHECK: [[P:%.*]] = call i8* @_ZnwmPvb(i64 1, i8* [[P0]]
// CHECK-NEXT: icmp eq i8* [[P]], null
// CHECK-NEXT: br i1
@@ -257,7 +257,7 @@ namespace test15 {
// CHECK-NEXT: [[T0:%.*]] = sext i32 [[N]] to i64
// CHECK-NEXT: [[T1:%.*]] = icmp slt i64 [[T0]], 0
// CHECK-NEXT: [[T2:%.*]] = select i1 [[T1]], i64 -1, i64 [[T0]]
- // CHECK-NEXT: [[P:%.*]] = load i8*
+ // CHECK-NEXT: [[P:%.*]] = load i8**
// CHECK: [[BEGIN:%.*]] = bitcast i8* [[P]] to [[A:%.*]]*
// CHECK-NEXT: [[ISEMPTY:%.*]] = icmp eq i64 [[T0]], 0
// CHECK-NEXT: br i1 [[ISEMPTY]],
OpenPOWER on IntegriCloud