diff options
Diffstat (limited to 'test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll')
-rw-r--r-- | test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll b/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll deleted file mode 100644 index 0d5cbf5..0000000 --- a/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll +++ /dev/null @@ -1,20 +0,0 @@ -; RUN: opt -globalopt -S -o - < %s | FileCheck %s - -@test1 = internal global i8* null - -define void @test1a() { -; CHECK: @test1a -; CHECK-NOT: store -; CHECK-NEXT: ret void - store i8* null, i8** @test1 - ret void -} - -define void @test1b(i8* %p) { -; CHECK: @test1b -; CHECK-NEXT: store -; CHECK-NEXT: ret void - store i8* %p, i8** @test1 - ret void -} - |