[all-commits] [llvm/llvm-project] d23959: [SCEV] Cache DataLayout in class (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jun 28 03:20:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d23959b2f59438829975107e175b4bd34744477d
https://github.com/llvm/llvm-project/commit/d23959b2f59438829975107e175b4bd34744477d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list