aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorwlei <wlei@fb.com>2021-04-23 12:35:12 -0700
committerwlei <wlei@fb.com>2021-04-23 14:26:47 -0700
commit3d1aecbd285709f58168b3ad65c06da4b42132a9 (patch)
tree37bd096eb0fa6894b0d5390d2d398fe0a961bf3c /llvm/lib/CodeGen/MachineCSE.cpp
parent572fe087765626529d63eaaefb2e1c5ba277f756 (diff)
downloadllvm-3d1aecbd285709f58168b3ad65c06da4b42132a9.zip
llvm-3d1aecbd285709f58168b3ad65c06da4b42132a9.tar.gz
llvm-3d1aecbd285709f58168b3ad65c06da4b42132a9.tar.bz2
[CSSPGO] Fix missing debug info of dangling pseudo probe
While doing speculative execution opt, it conservatively drops all insn's debug info in the merged `ThenBB`(see the loop at line 2384) including the dangling probe. The missing debug info of the dangling probe will cause the wrong inference computation. So we should avoid dropping the debug info from pseudo probe, this change try to fix this by moving the to-be dangling probe to the merging target BB before the debug info is dropped. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D101195
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions