[PATCH] D44312: Retain both sets of debug intrinsics in HoistThenElseCodeToIf (fixes PR 36410)
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 9 14:52:57 PST 2018
efriedma added a comment.
> In order for both dbg.values for "a" to be hoisted in Eli's example, wouldn't the stores into "a" need to be identical?
After mem2reg runs, there is no store instruction, just a PHI in the return block.
Repository:
rL LLVM
https://reviews.llvm.org/D44312
More information about the llvm-commits
mailing list