diff options
| author | Sushant Gokhale <sgokhale@nvidia.com> | 2025-10-22 16:35:57 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 04:05:57 -0700 |
| commit | 10d3c6bc11ca919563036aa590440c38502bcd2f (patch) | |
| tree | f2c1d3b237d4c5a055d317f0f07c4c8080cb8f99 /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | cde445716907ccf1003f2d7a95c1a672178d6e8e (diff) | |
| download | llvm-10d3c6bc11ca919563036aa590440c38502bcd2f.zip llvm-10d3c6bc11ca919563036aa590440c38502bcd2f.tar.gz llvm-10d3c6bc11ca919563036aa590440c38502bcd2f.tar.bz2 | |
[ShrinkWrap] Consider constant pool access as non-stack access (#164393)
As far as I understand, constant pool access does not access stack and
accesses read-only memory.
This patch considers constant pool access as non-stack access allowing
shrink wrapping to happen in the concerned test.
We should be seeing perf improvement with povray benchmark from
SPEC17(around 12% with -flto -Ofast) after this patch.
An NFC PR #162476 already exists to upload the test before the patch but
approval has got delayed. So, as @davemgreen suggested in that PR, I
have uploaded the test and patch in this single PR to show how test
looks like.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
