A program which benefits from a late specialisation pass
In this repo there is a small program which performs much better with a late specialisation pass. There is a plugin which implements this pass. Instructions about how to build the repo are in the README.
https://github.com/mpickering/legendary-train
Without plugin
time benchmarks
()
real 0m0.112s
With plugin (comparable to hand-written code)
time benchmarks
()
real 0m0.049s
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |