aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-11-08 16:52:30 +0000
committerGitHub <noreply@github.com>2024-11-08 16:52:30 +0000
commit92e0fb0c944254312d7b9c6ca64a026643617f60 (patch)
treead6a32558c36ba293c1d9dda4ba45bbe23675687 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent79c7b7ee9f8b1cec13d9c1026e2bae9b9e91bc6f (diff)
downloadllvm-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