| Issue |
53109
|
| Summary |
Severe time regression in GlobalISel / Legalizer with Swift exposed by d0af732bd00c0390fbcc6f900e8a59eb3954106c
|
| Labels |
backend:AArch64,
globalisel
|
| Assignees |
|
| Reporter |
asl
|
The downstream issue is https://bugs.swift.org/browse/SR-15531
Consider the attached bitcode. Running `llc ConnectionStateMachine.swift.o -O0` after d0af732bd00c0390fbcc6f900e8a59eb3954106c bumps the compilation time from 5 seconds to 90 seconds. The majority of time is spent in Legalizer. Adding https://reviews.llvm.org/D109154 reduces the compilation time down to ~25 seconds, but still a huge difference.
As far as I can see, this is a severe compile time regression for Swift 5.5 vs 5.6 affecting e.g. https://github.com/vapor/postgres-nio/issues/205 and some other downstream projects on aarch64
Tagging @TNorthover @ornata
[ConnectionStateMachine.swift.o.zip](https://github.com/llvm/llvm-project/files/7838413/ConnectionStateMachine.swift.o.zip)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs