[PATCH] Fixup PHI nodes in LowerSwitch

Marcello Maggioni hayarms at gmail.com
Thu Jul 3 05:14:11 PDT 2014


Hi Philip,

thanks for your help!
I implemented your tip on the iterator and I changed the algorithm to emit the same exact BB naming and order in the final output as the previous algorithm, such that it is not needed anymore to change the feature.ll test.

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.11049.patch
Type: text/x-patch
Size: 5271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140703/e36a360e/attachment.bin>


More information about the llvm-commits mailing list