diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2024-09-10 11:27:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 11:27:01 -0700 |
commit | 7a91af4f87d697c69274bfce9bfa57b743614ce5 (patch) | |
tree | 3239a044546be3f70995776e0427f263f6d4c223 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 02c943a7ea7b798026baf34f108c18a5cde3821a (diff) | |
download | llvm-7a91af4f87d697c69274bfce9bfa57b743614ce5.zip llvm-7a91af4f87d697c69274bfce9bfa57b743614ce5.tar.gz llvm-7a91af4f87d697c69274bfce9bfa57b743614ce5.tar.bz2 |
Add DIExpression::foldConstantMath to CoroSplit (#107933)
The CoroSplit pass has it's own salvageDebugInfo implementation and it's
DIExpressions do not get folded. Add a call to
DIExpression::foldConstantMath in the CoroSplit pass to reduce the size
of those DIExpressions.
[The compile time tracker shows no significant increase in compile time
either.](https://llvm-compile-time-tracker.com/compare.php?from=bdf02249e7f8f95177ff58c881caf219699acb98&to=e1c1c1759c06bc4c42f79eebdb0e3cd45219cef4&stat=instructions:u)
rdar://134675402
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions