[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:18:06 PST 2018


efriedma added a comment.

I think you get approximately the right behavior if you just unconditionally ignore the debug info intrinsics (and never hoist them).  Of course, the debug info gets dropped if the terminator is hoisted, but that seems okay; it's hard to handle that well in general anyway.


Repository:
  rL LLVM

https://reviews.llvm.org/D44312





More information about the llvm-commits mailing list