mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Updated aliases test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32de6330f1
commit
21beed669e
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -mtriple=i686-pc-linux-gnu -o %t -f
|
||||
; RUN: grep -c set %t | grep 4
|
||||
; RUN: grep -c globl %t | grep 3
|
||||
; RUN: grep -c set %t | grep 5
|
||||
; RUN: grep -c globl %t | grep 4
|
||||
; RUN: grep -c weak %t | grep 1
|
||||
|
||||
@bar = external global i32
|
||||
@ -15,6 +15,8 @@ declare i32 @foo_f()
|
||||
|
||||
@bar_i = alias internal i32* @bar
|
||||
|
||||
@A = alias bitcast (i32* @bar to i64*)
|
||||
|
||||
define i32 @test() {
|
||||
entry:
|
||||
%tmp = load i32* @foo1
|
||||
|
Loading…
Reference in New Issue
Block a user