[all-commits] [llvm/llvm-project] dea4a6: [LSR] Cleanup of getPreferredAddresingMode. NFC.
sjoerdmeijer via All-commits
all-commits at lists.llvm.org
Wed Feb 17 01:46:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dea4a63e635924ef6c00556d8f30d94e36864274
https://github.com/llvm/llvm-project/commit/dea4a63e635924ef6c00556d8f30d94e36864274
Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
Date: 2021-02-17 (Wed, 17 Feb 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Log Message:
-----------
[LSR] Cleanup of getPreferredAddresingMode. NFC.
This is a follow up D96600 and cleans up most calls to
getPreferredAddresingMode. I.e., we really don't need to query the same things
again and again, but get the preferred addressing mode once for each loop. So
this should be a lot friendlier for compile times, especially if we start
implementing getPreferredAddresingMode.
Differential Revision: https://reviews.llvm.org/D96772
More information about the All-commits
mailing list