aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-07-18 16:49:30 +0300
committerGitHub <noreply@github.com>2025-07-18 16:49:30 +0300
commit6112ebde0cdd31694536d0ac20a38e5f70f6185a (patch)
treeb74d440ce86338b67b65ed7e426527421732c5aa /llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
parent03b7766dba2f63ee7c9e67f915ea8394f6426f9a (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[RISCV] Guard CFI emission code with MF.needsFrameMoves() (#136060)HEADmain
Currently, AsmPrinter skips CFI instructions created by a backend if they are not needed. I'd like to change that so that it always prints/encodes CFI instructions if a backend created them. This change should slightly (perhaps negligibly) improve compile time as post-PEI passes no longer need to skip over these instructions in no-exceptions no-debug builds, and will allow to simplify convoluted logic in AsmPrinter once other targets stop emitting CFI instructions when they are not needed (that's my final goal). The changes in a test seem to be caused by slightly different post-RA scheduling in the absence of CFI instructions.
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp')
0 files changed, 0 insertions, 0 deletions