[llvm] r251458 - [Bitcode] Fix accidental syntax errors in compatibility tests

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 15:10:18 PDT 2015


Author: vedantk
Date: Tue Oct 27 17:10:17 2015
New Revision: 251458

URL: http://llvm.org/viewvc/llvm-project?rev=251458&view=rev
Log:
[Bitcode] Fix accidental syntax errors in compatibility tests

We used automated tools to update our IR to its current syntax in commit
21f77df7(r247378). While it correctly updated the CHECK lines in our
compatibility tests, the IR should have remained untouched.  This commit
fixes the syntax errors.

Modified:
    llvm/trunk/test/Bitcode/compatibility-3.6.ll
    llvm/trunk/test/Bitcode/compatibility-3.7.ll

Modified: llvm/trunk/test/Bitcode/compatibility-3.6.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/compatibility-3.6.ll?rev=251458&r1=251457&r2=251458&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/compatibility-3.6.ll (original)
+++ llvm/trunk/test/Bitcode/compatibility-3.6.ll Tue Oct 27 17:10:17 2015
@@ -174,51 +174,51 @@ declare void @g.f1()
 ;                   [unnamed_addr] alias <AliaseeTy> @<Aliasee>
 
 ; Aliases -- Linkage
- at a.private = private alias i32, i32* @g.private
+ at a.private = private alias i32* @g.private
 ; CHECK: @a.private = private alias i32, i32* @g.private
- at a.internal = internal alias i32, i32* @g.internal
+ at a.internal = internal alias i32* @g.internal
 ; CHECK: @a.internal = internal alias i32, i32* @g.internal
- at a.linkonce = linkonce alias i32, i32* @g.linkonce
+ at a.linkonce = linkonce alias i32* @g.linkonce
 ; CHECK: @a.linkonce = linkonce alias i32, i32* @g.linkonce
- at a.weak = weak alias i32, i32* @g.weak
+ at a.weak = weak alias i32* @g.weak
 ; CHECK: @a.weak = weak alias i32, i32* @g.weak
- at a.linkonce_odr = linkonce_odr alias i32, i32* @g.linkonce_odr
+ at a.linkonce_odr = linkonce_odr alias i32* @g.linkonce_odr
 ; CHECK: @a.linkonce_odr = linkonce_odr alias i32, i32* @g.linkonce_odr
- at a.weak_odr = weak_odr alias i32, i32* @g.weak_odr
+ at a.weak_odr = weak_odr alias i32* @g.weak_odr
 ; CHECK: @a.weak_odr = weak_odr alias i32, i32* @g.weak_odr
- at a.external = external alias i32, i32* @g1
+ at a.external = external alias i32* @g1
 ; CHECK: @a.external = alias i32, i32* @g1
 
 ; Aliases -- Visibility
- at a.default = default alias i32, i32* @g.default
+ at a.default = default alias i32* @g.default
 ; CHECK: @a.default = alias i32, i32* @g.default
- at a.hidden = hidden alias i32, i32* @g.hidden
+ at a.hidden = hidden alias i32* @g.hidden
 ; CHECK: @a.hidden = hidden alias i32, i32* @g.hidden
- at a.protected = protected alias i32, i32* @g.protected
+ at a.protected = protected alias i32* @g.protected
 ; CHECK: @a.protected = protected alias i32, i32* @g.protected
 
 ; Aliases -- DLLStorageClass
- at a.dlldefault = default alias i32, i32* @g.dlldefault
+ at a.dlldefault = default alias i32* @g.dlldefault
 ; CHECK: @a.dlldefault = alias i32, i32* @g.dlldefault
- at a.dllimport = dllimport alias i32, i32* @g1
+ at a.dllimport = dllimport alias i32* @g1
 ; CHECK: @a.dllimport = dllimport alias i32, i32* @g1
- at a.dllexport = dllexport alias i32, i32* @g.dllexport
+ at a.dllexport = dllexport alias i32* @g.dllexport
 ; CHECK: @a.dllexport = dllexport alias i32, i32* @g.dllexport
 
 ; Aliases -- ThreadLocal
- at a.notthreadlocal = alias i32, i32* @g.notthreadlocal
+ at a.notthreadlocal = alias i32* @g.notthreadlocal
 ; CHECK: @a.notthreadlocal = alias i32, i32* @g.notthreadlocal
- at a.generaldynamic = thread_local alias i32, i32* @g.generaldynamic
+ at a.generaldynamic = thread_local alias i32* @g.generaldynamic
 ; CHECK: @a.generaldynamic = thread_local alias i32, i32* @g.generaldynamic
- at a.localdynamic = thread_local(localdynamic) alias i32, i32* @g.localdynamic
+ at a.localdynamic = thread_local(localdynamic) alias i32* @g.localdynamic
 ; CHECK: @a.localdynamic = thread_local(localdynamic) alias i32, i32* @g.localdynamic
- at a.initialexec = thread_local(initialexec) alias i32, i32* @g.initialexec
+ at a.initialexec = thread_local(initialexec) alias i32* @g.initialexec
 ; CHECK: @a.initialexec = thread_local(initialexec) alias i32, i32* @g.initialexec
- at a.localexec = thread_local(localexec) alias i32, i32* @g.localexec
+ at a.localexec = thread_local(localexec) alias i32* @g.localexec
 ; CHECK: @a.localexec = thread_local(localexec) alias i32, i32* @g.localexec
 
 ; Aliases -- unnamed_addr
- at a.unnamed_addr = unnamed_addr alias i32, i32* @g.unnamed_addr
+ at a.unnamed_addr = unnamed_addr alias i32* @g.unnamed_addr
 ; CHECK: @a.unnamed_addr = unnamed_addr alias i32, i32* @g.unnamed_addr
 
 ;; Functions

Modified: llvm/trunk/test/Bitcode/compatibility-3.7.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/compatibility-3.7.ll?rev=251458&r1=251457&r2=251458&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/compatibility-3.7.ll (original)
+++ llvm/trunk/test/Bitcode/compatibility-3.7.ll Tue Oct 27 17:10:17 2015
@@ -174,51 +174,51 @@ declare void @g.f1()
 ;                   [unnamed_addr] alias <AliaseeTy> @<Aliasee>
 
 ; Aliases -- Linkage
- at a.private = private alias i32, i32* @g.private
+ at a.private = private alias i32* @g.private
 ; CHECK: @a.private = private alias i32, i32* @g.private
- at a.internal = internal alias i32, i32* @g.internal
+ at a.internal = internal alias i32* @g.internal
 ; CHECK: @a.internal = internal alias i32, i32* @g.internal
- at a.linkonce = linkonce alias i32, i32* @g.linkonce
+ at a.linkonce = linkonce alias i32* @g.linkonce
 ; CHECK: @a.linkonce = linkonce alias i32, i32* @g.linkonce
- at a.weak = weak alias i32, i32* @g.weak
+ at a.weak = weak alias i32* @g.weak
 ; CHECK: @a.weak = weak alias i32, i32* @g.weak
- at a.linkonce_odr = linkonce_odr alias i32, i32* @g.linkonce_odr
+ at a.linkonce_odr = linkonce_odr alias i32* @g.linkonce_odr
 ; CHECK: @a.linkonce_odr = linkonce_odr alias i32, i32* @g.linkonce_odr
- at a.weak_odr = weak_odr alias i32, i32* @g.weak_odr
+ at a.weak_odr = weak_odr alias i32* @g.weak_odr
 ; CHECK: @a.weak_odr = weak_odr alias i32, i32* @g.weak_odr
- at a.external = external alias i32, i32* @g1
+ at a.external = external alias i32* @g1
 ; CHECK: @a.external = alias i32, i32* @g1
 
 ; Aliases -- Visibility
- at a.default = default alias i32, i32* @g.default
+ at a.default = default alias i32* @g.default
 ; CHECK: @a.default = alias i32, i32* @g.default
- at a.hidden = hidden alias i32, i32* @g.hidden
+ at a.hidden = hidden alias i32* @g.hidden
 ; CHECK: @a.hidden = hidden alias i32, i32* @g.hidden
- at a.protected = protected alias i32, i32* @g.protected
+ at a.protected = protected alias i32* @g.protected
 ; CHECK: @a.protected = protected alias i32, i32* @g.protected
 
 ; Aliases -- DLLStorageClass
- at a.dlldefault = default alias i32, i32* @g.dlldefault
+ at a.dlldefault = default alias i32* @g.dlldefault
 ; CHECK: @a.dlldefault = alias i32, i32* @g.dlldefault
- at a.dllimport = dllimport alias i32, i32* @g1
+ at a.dllimport = dllimport alias i32* @g1
 ; CHECK: @a.dllimport = dllimport alias i32, i32* @g1
- at a.dllexport = dllexport alias i32, i32* @g.dllexport
+ at a.dllexport = dllexport alias i32* @g.dllexport
 ; CHECK: @a.dllexport = dllexport alias i32, i32* @g.dllexport
 
 ; Aliases -- ThreadLocal
- at a.notthreadlocal = alias i32, i32* @g.notthreadlocal
+ at a.notthreadlocal = alias i32* @g.notthreadlocal
 ; CHECK: @a.notthreadlocal = alias i32, i32* @g.notthreadlocal
- at a.generaldynamic = thread_local alias i32, i32* @g.generaldynamic
+ at a.generaldynamic = thread_local alias i32* @g.generaldynamic
 ; CHECK: @a.generaldynamic = thread_local alias i32, i32* @g.generaldynamic
- at a.localdynamic = thread_local(localdynamic) alias i32, i32* @g.localdynamic
+ at a.localdynamic = thread_local(localdynamic) alias i32* @g.localdynamic
 ; CHECK: @a.localdynamic = thread_local(localdynamic) alias i32, i32* @g.localdynamic
- at a.initialexec = thread_local(initialexec) alias i32, i32* @g.initialexec
+ at a.initialexec = thread_local(initialexec) alias i32* @g.initialexec
 ; CHECK: @a.initialexec = thread_local(initialexec) alias i32, i32* @g.initialexec
- at a.localexec = thread_local(localexec) alias i32, i32* @g.localexec
+ at a.localexec = thread_local(localexec) alias i32* @g.localexec
 ; CHECK: @a.localexec = thread_local(localexec) alias i32, i32* @g.localexec
 
 ; Aliases -- unnamed_addr
- at a.unnamed_addr = unnamed_addr alias i32, i32* @g.unnamed_addr
+ at a.unnamed_addr = unnamed_addr alias i32* @g.unnamed_addr
 ; CHECK: @a.unnamed_addr = unnamed_addr alias i32, i32* @g.unnamed_addr
 
 ;; Functions




More information about the llvm-commits mailing list