summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GlobalSplit/non-beneficial.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/GlobalSplit/non-beneficial.ll')
-rw-r--r--llvm/test/Transforms/GlobalSplit/non-beneficial.ll24
1 files changed, 0 insertions, 24 deletions
diff --git a/llvm/test/Transforms/GlobalSplit/non-beneficial.ll b/llvm/test/Transforms/GlobalSplit/non-beneficial.ll
deleted file mode 100644
index 97ffcc2fdbd..00000000000
--- a/llvm/test/Transforms/GlobalSplit/non-beneficial.ll
+++ /dev/null
@@ -1,24 +0,0 @@
-; RUN: opt -S -globalsplit %s | FileCheck %s
-
-target datalayout = "e-p:64:64"
-target triple = "x86_64-unknown-linux-gnu"
-
-; CHECK: @global =
-@global = internal constant { [2 x i8* ()*], [1 x i8* ()*] } {
- [2 x i8* ()*] [i8* ()* @f, i8* ()* @g],
- [1 x i8* ()*] [i8* ()* @h]
-}
-
-define i8* @f() {
- ret i8* bitcast (i8* ()** getelementptr ({ [2 x i8* ()*], [1 x i8* ()*] }, { [2 x i8* ()*], [1 x i8* ()*] }* @global, i32 0, inrange i32 0, i32 0) to i8*)
-}
-
-define i8* @g() {
- ret i8* null
-}
-
-define i8* @h() {
- ret i8* null
-}
-
-!0 = !{i32 16}
OpenPOWER on IntegriCloud