[PATCH] D21997: [LCSSA] Post-process PHI-nodes created by SSAUpdate when constructing LCSSA form.

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 09:12:45 PDT 2016


mzolotukhin created this revision.
mzolotukhin added reviewers: sanjoy, chandlerc, hfinkel.
mzolotukhin added a subscriber: llvm-commits.

SSAUpdate might insert PHI-nodes inside loops, which can break LCSSA
form unless we fix it up.

This fixes PR28424.

http://reviews.llvm.org/D21997

Files:
  lib/Transforms/Utils/LCSSA.cpp
  test/Transforms/LCSSA/pr28424.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21997.62761.patch
Type: text/x-patch
Size: 3192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160705/c018e849/attachment.bin>


More information about the llvm-commits mailing list