diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-03 00:17:09 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-03 00:17:09 +0000 |
| commit | 838752d3f63a503775384a4a49c180d3af9ca2c2 (patch) | |
| tree | e61980a8be0a258ccee309877690f213d5634880 /llvm/test | |
| parent | 042e51823b95f82902684c841b97583afd5d027a (diff) | |
| download | bcm5719-llvm-838752d3f63a503775384a4a49c180d3af9ca2c2.tar.gz bcm5719-llvm-838752d3f63a503775384a4a49c180d3af9ca2c2.zip | |
LoopIdiom: Give globals for memset_pattern16 private linkage.
There's really no reason to have them have entries in the symbol table
anymore. Old versions of ld64 had some bugs in this area but those have
been fixed long ago.
llvm-svn: 231041
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Transforms/LoopIdiom/basic.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopIdiom/basic.ll b/llvm/test/Transforms/LoopIdiom/basic.ll index c0aafc20844..79aa26e9b13 100644 --- a/llvm/test/Transforms/LoopIdiom/basic.ll +++ b/llvm/test/Transforms/LoopIdiom/basic.ll @@ -1,5 +1,12 @@ ; RUN: opt -basicaa -loop-idiom < %s -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" + +; For @test11_pattern +; CHECK: @.memset_pattern = private unnamed_addr constant [4 x i32] [i32 1, i32 1, i32 1, i32 1] + +; For @test13_pattern +; CHECK: @.memset_pattern1 = private unnamed_addr constant [2 x i32*] [i32* @G, i32* @G] + target triple = "x86_64-apple-darwin10.0.0" define void @test1(i8* %Base, i64 %Size) nounwind ssp { |

