diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-25 02:54:07 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-25 02:54:07 +0000 |
commit | 463ff6d823704634d00282d5f6b0b2d435d172c6 (patch) | |
tree | f6494c4832096e49dc1b092154de8f3add496e27 /llvm/test/Assembler/unnamed-alias.ll | |
parent | cb50b511de7f99594588fe770dee46690e9f942e (diff) | |
download | bcm5719-llvm-463ff6d823704634d00282d5f6b0b2d435d172c6.tar.gz bcm5719-llvm-463ff6d823704634d00282d5f6b0b2d435d172c6.zip |
AsmParser: Make the code for parsing unnamed aliases more closely resemble that for unnamed globals.
This fixes parsing of forward references to unnamed aliases.
While here, remove an unnecessary isa check.
llvm-svn: 254054
Diffstat (limited to 'llvm/test/Assembler/unnamed-alias.ll')
-rw-r--r-- | llvm/test/Assembler/unnamed-alias.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Assembler/unnamed-alias.ll b/llvm/test/Assembler/unnamed-alias.ll index ebba091d770..121e54b7d07 100644 --- a/llvm/test/Assembler/unnamed-alias.ll +++ b/llvm/test/Assembler/unnamed-alias.ll @@ -5,7 +5,7 @@ @1 = private constant i32 1 ; CHECK: @1 = private constant i32 1 -@2 = private alias i32, i32* @0 -; CHECK: @2 = private alias i32, i32* @0 +@2 = private alias i32, i32* @3 +; CHECK: @2 = private alias i32, i32* @3 @3 = private alias i32, i32* @1 ; CHECK: @3 = private alias i32, i32* @1 |