[PATCH] Fixup PHI nodes in LowerSwitch

Marcello Maggioni hayarms at gmail.com
Tue Jul 8 06:24:34 PDT 2014


Fixed loop to loop over all possibile PHI instructions using getFirstNonPHIOrDbgOrLifetime() instead of getFirstNonPHI().

http://reviews.llvm.org/D4298

Files:
  lib/Transforms/Utils/LowerSwitch.cpp
  test/Transforms/LowerSwitch/2014-06-23-PHIlowering.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4298.11163.patch
Type: text/x-patch
Size: 5359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140708/99894826/attachment.bin>


More information about the llvm-commits mailing list