[PATCH] Fixup PHI nodes in LowerSwitch

Marcello Maggioni hayarms at gmail.com
Wed Jul 9 09:45:07 PDT 2014


Updated to implement Philip suggestion of looping over all the edges
Added more context to checks in the PHILowering test + moved the checks in function context instead of global
Reverted the to the getFirstNonPHI() version waiting for more input on the matter

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.11204.patch
Type: text/x-patch
Size: 5242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140709/dacb6eec/attachment.bin>


More information about the llvm-commits mailing list