diff options
Diffstat (limited to 'llvm/test/Linker/Inputs')
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat.ll | 12 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat2.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat3.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat4.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat5.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/comdat8.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Linker/Inputs/visibility.ll | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/llvm/test/Linker/Inputs/comdat.ll b/llvm/test/Linker/Inputs/comdat.ll index fdcca49c3c3..74a805cf862 100644 --- a/llvm/test/Linker/Inputs/comdat.ll +++ b/llvm/test/Linker/Inputs/comdat.ll @@ -2,19 +2,19 @@ target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" target triple = "i686-pc-windows-msvc" $foo = comdat largest -@foo = global i64 43, comdat $foo +@foo = global i64 43, comdat($foo) -define i32 @bar() comdat $foo { +define i32 @bar() comdat($foo) { ret i32 43 } $qux = comdat largest -@qux = global i32 13, comdat $qux -@in_unselected_group = global i32 13, comdat $qux +@qux = global i32 13, comdat($qux) +@in_unselected_group = global i32 13, comdat($qux) -define i32 @baz() comdat $qux { +define i32 @baz() comdat($qux) { ret i32 13 } $any = comdat any -@any = global i64 7, comdat $any +@any = global i64 7, comdat($any) diff --git a/llvm/test/Linker/Inputs/comdat2.ll b/llvm/test/Linker/Inputs/comdat2.ll index 9e18304744b..ed2af6239cd 100644 --- a/llvm/test/Linker/Inputs/comdat2.ll +++ b/llvm/test/Linker/Inputs/comdat2.ll @@ -1,2 +1,2 @@ $foo = comdat largest -@foo = global i64 43, comdat $foo +@foo = global i64 43, comdat($foo) diff --git a/llvm/test/Linker/Inputs/comdat3.ll b/llvm/test/Linker/Inputs/comdat3.ll index 06f08b947af..a1b730f216f 100644 --- a/llvm/test/Linker/Inputs/comdat3.ll +++ b/llvm/test/Linker/Inputs/comdat3.ll @@ -1,2 +1,2 @@ $foo = comdat noduplicates -@foo = global i64 43, comdat $foo +@foo = global i64 43, comdat($foo) diff --git a/llvm/test/Linker/Inputs/comdat4.ll b/llvm/test/Linker/Inputs/comdat4.ll index bbfe3f794ab..5b4b812c774 100644 --- a/llvm/test/Linker/Inputs/comdat4.ll +++ b/llvm/test/Linker/Inputs/comdat4.ll @@ -2,4 +2,4 @@ target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" target triple = "i686-pc-windows-msvc" $foo = comdat samesize -@foo = global i64 42, comdat $foo +@foo = global i64 42, comdat($foo) diff --git a/llvm/test/Linker/Inputs/comdat5.ll b/llvm/test/Linker/Inputs/comdat5.ll index 3af63337dcd..98c42b7be0c 100644 --- a/llvm/test/Linker/Inputs/comdat5.ll +++ b/llvm/test/Linker/Inputs/comdat5.ll @@ -3,7 +3,7 @@ target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" $foo = comdat largest @zed = external constant i8 -@some_name = private unnamed_addr constant [2 x i8*] [i8* @zed, i8* bitcast (void ()* @bar to i8*)], comdat $foo +@some_name = private unnamed_addr constant [2 x i8*] [i8* @zed, i8* bitcast (void ()* @bar to i8*)], comdat($foo) @foo = alias getelementptr([2 x i8*]* @some_name, i32 0, i32 1) declare void @bar() unnamed_addr diff --git a/llvm/test/Linker/Inputs/comdat8.ll b/llvm/test/Linker/Inputs/comdat8.ll index eaa96254ac6..a2833b05cf1 100644 --- a/llvm/test/Linker/Inputs/comdat8.ll +++ b/llvm/test/Linker/Inputs/comdat8.ll @@ -1,4 +1,4 @@ $c1 = comdat largest -@some_name = private unnamed_addr constant i32 42, comdat $c1 +@some_name = private unnamed_addr constant i32 42, comdat($c1) @c1 = alias i32* @some_name diff --git a/llvm/test/Linker/Inputs/visibility.ll b/llvm/test/Linker/Inputs/visibility.ll index 2ab58fd3bd0..2cd112ed37f 100644 --- a/llvm/test/Linker/Inputs/visibility.ll +++ b/llvm/test/Linker/Inputs/visibility.ll @@ -4,7 +4,7 @@ $c1 = comdat any @v1 = weak hidden global i32 0 @v2 = weak protected global i32 0 @v3 = weak hidden global i32 0 -@v4 = hidden global i32 1, comdat $c1 +@v4 = hidden global i32 1, comdat($c1) ; Aliases @a1 = weak hidden alias i32* @v1 |

