diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-16 06:56:44 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-16 06:56:44 +0000 |
| commit | 2d28f7aa07483ba57428c654170467966581849c (patch) | |
| tree | 57505eb0c7546aa598bca418a57f455fe0e74bf4 /llvm/test/Bitcode/Inputs | |
| parent | d82f494aa41ffbac2586d4b090af33aa51e3dd15 (diff) | |
| download | bcm5719-llvm-2d28f7aa07483ba57428c654170467966581849c.tar.gz bcm5719-llvm-2d28f7aa07483ba57428c654170467966581849c.zip | |
ThinLTO: Make aliases explicit in the summary
To be able to work accurately on the reference graph when taking
decision about internalizing, promoting, renaming, etc. We need
to have the alias information explicit.
Differential Revision: http://reviews.llvm.org/D18836
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266517
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
| -rw-r--r-- | llvm/test/Bitcode/Inputs/thinlto-alias.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/thinlto-alias.ll b/llvm/test/Bitcode/Inputs/thinlto-alias.ll new file mode 100644 index 00000000000..5a628e8a3b9 --- /dev/null +++ b/llvm/test/Bitcode/Inputs/thinlto-alias.ll @@ -0,0 +1,13 @@ +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + + + +@analias = alias void (...), bitcast (void ()* @aliasee to void (...)*) + +; Function Attrs: nounwind uwtable +define void @aliasee() #0 { +entry: + ret void +} + |

