aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-07-14 15:20:13 +0200
committerNikita Popov <npopov@redhat.com>2022-07-15 09:41:23 +0200
commitf75ccadcdd87328b946e43c8e88ccf3c8188ff4f (patch)
tree0136507f275962b4edf2c7fa328e66f7acbe8cc4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9510d5971eee79be481596a702bf2a3e232c30f3 (diff)
downloadllvm-f75ccadcdd87328b946e43c8e88ccf3c8188ff4f.zip
llvm-f75ccadcdd87328b946e43c8e88ccf3c8188ff4f.tar.gz
llvm-f75ccadcdd87328b946e43c8e88ccf3c8188ff4f.tar.bz2
[LSR] Create SCEVExpander earlier, use member isSafeToExpand() (NFC)
This is a followup to D129630, which switches LSR to the member isSafeToExpand() variant, and removes the freestanding function. This is done by creating the SCEVExpander early (already during the analysis phase). Because the SCEVExpander is now available for the whole lifetime of LSRInstance, I've also made it into a member variable, rather than passing it around in even more places. Differential Revision: https://reviews.llvm.org/D129769
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions