aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CIR/CodeGen/CIRGenModule.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-07-31 16:33:25 +0100
committerGitHub <noreply@github.com>2025-07-31 16:33:25 +0100
commit99d70e09a9676d63513a496f52acf93ca7167f00 (patch)
tree059b1757bf6afbe68d5ef59136aaa4b8411c47f0 /clang/lib/CIR/CodeGen/CIRGenModule.cpp
parentbd041389351dc920a6b7a6cc6703e30af5d0ad23 (diff)
downloadllvm-99d70e09a9676d63513a496f52acf93ca7167f00.zip
llvm-99d70e09a9676d63513a496f52acf93ca7167f00.tar.gz
llvm-99d70e09a9676d63513a496f52acf93ca7167f00.tar.bz2
[SCEV] Allow adds of constants in tryToReuseLCSSAPhi. (#150693)
Update the logic added in https://github.com/llvm/llvm-project/pull/147824 to also allow adds of constants. There are a number of cases where this can help remove redundant phis and replace some computation with a ptrtoint (which likely is free in the backend). PR: https://github.com/llvm/llvm-project/pull/150693
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions