summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/aliases.ll
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2015-08-07 10:56:21 +0000
committerJohn Brawn <john.brawn@arm.com>2015-08-07 10:56:21 +0000
commitbb8d0fbf02b590074b95094ac773ae5549e623ca (patch)
treec375052d2c809ae4d4ba7cdd14d661ecb6c794a3 /test/CodeGen/ARM/aliases.ll
parent34620e340b14c8fa0ef2bee1be6c307ee288a8d3 (diff)
Revert "Make global aliases have symbol size equal to their type"
This reverts r242520, as it caused pr24379. Also removes part of the test added by r243874 that checks the size of alias symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/aliases.ll')
-rw-r--r--test/CodeGen/ARM/aliases.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/ARM/aliases.ll b/test/CodeGen/ARM/aliases.ll
index 8d0d57db44b..04ca3e87548 100644
--- a/test/CodeGen/ARM/aliases.ll
+++ b/test/CodeGen/ARM/aliases.ll
@@ -2,34 +2,19 @@
; CHECK: .globl test
-; CHECK: .globl structvar
-; CHECK: .size structvar, 8
-
; CHECK: .globl foo1
; CHECK: foo1 = bar
-; CHECK: .size foo1, 4
; CHECK: .globl foo2
; CHECK: foo2 = bar
-; CHECK: .size foo2, 4
; CHECK: .weak bar_f
; CHECK: bar_f = foo_f
; CHECK: bar_i = bar
-; CHECK: .size bar_i, 4
; CHECK: .globl A
; CHECK: A = bar
-; CHECK: .size A, 8
-
-; CHECK: .globl elem0
-; CHECK: elem0 = structvar
-; CHECK: .size elem0, 4
-
-; CHECK: .globl elem1
-; CHECK: elem1 = structvar+4
-; CHECK: .size elem1, 4
@bar = global i32 42
@foo1 = alias i32* @bar
@@ -46,10 +31,6 @@ define i32 @foo_f() {
@A = alias bitcast (i32* @bar to i64*)
-@structvar = global {i32, i32} {i32 1, i32 2}
-@elem0 = alias getelementptr({i32, i32}, {i32, i32}* @structvar, i32 0, i32 0)
-@elem1 = alias getelementptr({i32, i32}, {i32, i32}* @structvar, i32 0, i32 1)
-
define i32 @test() {
entry:
%tmp = load i32, i32* @foo1