Commit Graph

8 Commits

Author SHA1 Message Date
Dario Rexin
44a2bb3a9d Disable lto-autolink test on linux-aarch64 (#37277) 2021-05-06 10:28:21 -07:00
Robert Widmann
d38b23346f Merge pull request #37184 from CodaFi/when-im-sixty-four-thirty-two
Mark an LTO Test Unsupported on arm64_32
2021-05-01 21:38:08 -07:00
Dario Rexin
fd73d3425e Revert "Use target-cpu for Linux in lto_autolink test (#36999)" (#37193)
This reverts commit 605a9237b4.
2021-05-01 10:11:26 -07:00
Robert Widmann
b28e5dfbc2 Mark an LTO Test Unsupported on arm64_32
The %target-cpu annotations here cause us to form the triple
arm64_32-unknown-linux-gnu which is not a valid triple. We don't need to
run these tests on arm64_32 platforms anyways.

rdar://77398372
2021-04-30 15:00:24 -07:00
Dario Rexin
605a9237b4 Use target-cpu for Linux in lto_autolink test (#36999) 2021-04-29 08:47:45 -07:00
Arnold Schwaighofer
3e7da84cea This test currently fails on macos arm64
rdar://76540446
2021-04-13 08:11:56 -07:00
Ikko Ashimine
61f748501e [LTO] fix typo in lto_autolink.swift
embeded -> embedded
2021-02-11 18:43:56 +09:00
Yuta Saito
20bc0af42b [LTO] Support LLVM LTO for IRGen and frontend
This commit adds -lto flag for frontend to enable LTO at LLVM level.
When -lto=llvm given, compiler emits LLVM bitcode file instead of object
file and adds index summary for LTO.
In addition for ELF format, emit llvm.dependent-libraries section to
embed auto linking information
2020-07-01 23:30:58 +00:00