aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-07-25 15:29:40 +0100
committerGitHub <noreply@github.com>2025-07-25 15:29:40 +0100
commite21ee41be450f849f5247aafa07d7f4c3941bb9d (patch)
tree40471ca110ce19d73cb2b0e1288cbed94f3a881e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parente4963834e44b2d41d1d6bce0c7c585a4c0b7bf86 (diff)
downloadllvm-e21ee41be450f849f5247aafa07d7f4c3941bb9d.zip
llvm-e21ee41be450f849f5247aafa07d7f4c3941bb9d.tar.gz
llvm-e21ee41be450f849f5247aafa07d7f4c3941bb9d.tar.bz2
[SCEV] Try to re-use pointer LCSSA phis when expanding SCEVs. (#147824)
Generalize the code added in https://github.com/llvm/llvm-project/pull/147214 to also support re-using pointer LCSSA phis when expanding SCEVs with AddRecs. A common source of integer AddRecs with pointer bases are runtime checks emitted by LV based on the distance between 2 pointer AddRecs. This improves codegen in some cases when vectorizing and prevents regressions with https://github.com/llvm/llvm-project/pull/142309, which turns some phis into single-entry ones, which SCEV will look through now (and expand the whole AddRec), whereas before it would have to treat the LCSSA phi as SCEVUnknown. Compile-time impact neutral: https://llvm-compile-time-tracker.com/compare.php?from=fd5fc76c91538871771be2c3be2ca3a5f2dcac31&to=ca5fc2b3d8e6efc09f1624a17fdbfbe909f14eb4&stat=instructions:u PR: https://github.com/llvm/llvm-project/pull/147824
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions