diff options
author | Stephen Tozer <stephen.tozer@sony.com> | 2024-11-08 16:52:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 16:52:30 +0000 |
commit | 92e0fb0c944254312d7b9c6ca64a026643617f60 (patch) | |
tree | ad6a32558c36ba293c1d9dda4ba45bbe23675687 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 79c7b7ee9f8b1cec13d9c1026e2bae9b9e91bc6f (diff) | |
download | llvm-92e0fb0c944254312d7b9c6ca64a026643617f60.zip llvm-92e0fb0c944254312d7b9c6ca64a026643617f60.tar.gz llvm-92e0fb0c944254312d7b9c6ca64a026643617f60.tar.bz2 |
[DebugInfo][LoopUnroll] Preserve DebugLocs on optimized cond branches (#114225)
This patch fixes a simple error where as part of loop unrolling we
optimize conditional loop-exiting branches into unconditional branches
when we know that they will or won't exit the loop, but does not
propagate the source location of the original branch to the new one.
Found using https://github.com/llvm/llvm-project/pull/107279.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions