diff options
author | Nikita Popov <npopov@redhat.com> | 2024-06-28 12:10:59 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-06-28 12:19:27 +0200 |
commit | d23959b2f59438829975107e175b4bd34744477d (patch) | |
tree | 5e90aebb8485424f03d65fa812994a3952ea7f98 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 9de14e24443046f5df39dad864af0bcdd85b53e0 (diff) | |
download | llvm-d23959b2f59438829975107e175b4bd34744477d.zip llvm-d23959b2f59438829975107e175b4bd34744477d.tar.gz llvm-d23959b2f59438829975107e175b4bd34744477d.tar.bz2 |
[SCEV] Cache DataLayout in class (NFC)
PR #96919 caused a minor compile-time regression, mostly because
SCEV now goes through an extra out-of-line function to fetch the
data layout, and does this a lot. Cache the DataLayout in SCEV
to avoid these repeated calls.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions