swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.11k stars 328 forks source link

[CAS] Improve the cc1 flag round trip speed when CAS is used. NFCI #9158

Closed cachemeifyoucan closed 3 weeks ago

cachemeifyoucan commented 3 weeks ago

Delay initialize the inputs from CAS to after ParseArgs to speed up the performance of round tripping arguments. This will save the CAS initialization/destruction costs when round tripping cc1 arguments, which is often used to modify/update cc1 arguments.

rdar://134363755

cachemeifyoucan commented 3 weeks ago

@swift-ci please smoke test

cachemeifyoucan commented 3 weeks ago

@swift-ci please test llvm

cachemeifyoucan commented 3 weeks ago

@swift-ci please test