aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-02-07 13:47:21 +0000
committerGitHub <noreply@github.com>2024-02-07 13:47:21 +0000
commit0aacd44a4698da012ee0704815123b28f2a06d0f (patch)
tree929f8cd23db189c1c0b72a3d31175eae7f815487 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7ab0a871431375cb966b0653b9f5caaba15cb6d9 (diff)
downloadllvm-0aacd44a4698da012ee0704815123b28f2a06d0f.zip
llvm-0aacd44a4698da012ee0704815123b28f2a06d0f.tar.gz
llvm-0aacd44a4698da012ee0704815123b28f2a06d0f.tar.bz2
[RemoveDIs][DebugInfo] Hoist DPValues in SpeculativeExecution (#80886)
This patch modifies `SpeculativeExecutionPass::considerHoistingFromTo` to treat DPValues the same way that it treats debug intrinsics, which is to hoist them iff all of their instruction operands within the FromBlock are also being hoisted. This is probably not the ideal behaviour, which would be to not hoist debug info at all in this case, but this patch simply ensures that DPValue behaviour is consistent with debug intrinsic behaviour rather than trying to create new functional changes.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions