Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: test/Transforms/GlobalOpt/alias-used.ll

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/MC/AsmParser/exprs.s ('k') | test/Transforms/InstCombine/add4.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/GlobalOpt/alias-used.ll
diff --git a/test/Transforms/GlobalOpt/alias-used.ll b/test/Transforms/GlobalOpt/alias-used.ll
deleted file mode 100644
index f91579bf0507e134c2d3be0acb34fab25171ff91..0000000000000000000000000000000000000000
--- a/test/Transforms/GlobalOpt/alias-used.ll
+++ /dev/null
@@ -1,42 +0,0 @@
-; RUN: opt < %s -globalopt -S | FileCheck %s
-
-@c = global i8 42
-
-@llvm.used = appending global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca], section "llvm.metadata"
-; CHECK: @llvm.used = appending global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca], section "llvm.metadata"
-
-@llvm.compiler_used = appending global [2 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @fa3 to i8*)], section "llvm.metadata"
-
-@sameAsUsed = global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca]
-; CHECK: @sameAsUsed = global [3 x i8*] [i8* bitcast (void ()* @f to i8*), i8* bitcast (void ()* @f to i8*), i8* @c]
-
-@other = global i32* bitcast (void ()* @fa to i32*)
-; CHECK: @other = global i32* bitcast (void ()* @f to i32*)
-
-@fa = alias internal void ()* @f
-; CHECK: @fa = alias internal void ()* @f
-
-@fa2 = alias internal void ()* @f
-; CHECK-NOT: @fa2
-
-@fa3 = alias internal void ()* @f
-; CHECK: @fa3
-
-@ca = alias internal i8* @c
-; CHECK: @ca = alias internal i8* @c
-
-define void @f() {
- ret void
-}
-
-define i8* @g() {
- ret i8* bitcast (void ()* @fa to i8*);
-}
-
-define i8* @g2() {
- ret i8* bitcast (void ()* @fa2 to i8*);
-}
-
-define i8* @h() {
- ret i8* @ca
-}
« no previous file with comments | « test/MC/AsmParser/exprs.s ('k') | test/Transforms/InstCombine/add4.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698