summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-13 17:18:42 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-13 17:18:42 +0000
commitce744a95fd99e7b9ae368e2f98de60b09c70fed0 (patch)
treeef64981e3528a03565000d7b4a5fe58d6a5e8179 /llvm/test/Bitcode/Inputs
parentf5a7ec7a5ced6720b84dbebe2b396bc95cadce09 (diff)
downloadbcm5719-llvm-ce744a95fd99e7b9ae368e2f98de60b09c70fed0.tar.gz
bcm5719-llvm-ce744a95fd99e7b9ae368e2f98de60b09c70fed0.zip
Make aliases explicit in the summary
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. Reviewers: tejohnson Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18836 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266214
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/thinlto-alias.ll13
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
+}
+
OpenPOWER on IntegriCloud