[PATCH] [SROA] Simplify PHI nodes before promoting the alloca

Jingyue Wu jingyue at google.com
Thu Jul 24 14:36:17 PDT 2014


Thanks Eli and Mark for your comments! I believe the logic is simpler now.

http://reviews.llvm.org/D4659

Files:
  lib/Transforms/Scalar/SROA.cpp
  test/Transforms/SROA/phi-and-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4659.11855.patch
Type: text/x-patch
Size: 5542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140724/dd94c553/attachment.bin>


More information about the llvm-commits mailing list