[PATCH] Fix SROA regression causing data corruption, fixes PR19250

Björn Steinbrink bsteinbr at gmail.com
Tue Jun 10 09:26:12 PDT 2014


Added a comment to explain why the whole if-else block has to be moved after
the early continue. Moved the original test into its own file and added new
tests for the slice order indepence of the chosen type for the alloca.

http://reviews.llvm.org/D3297

Files:
  lib/Transforms/Scalar/SROA.cpp
  test/Transforms/SROA/basictest.ll
  test/Transforms/SROA/order_independence.ll
  test/Transforms/SROA/slicewidth.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3297.10282.patch
Type: text/x-patch
Size: 5151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140610/e6963156/attachment.bin>


More information about the llvm-commits mailing list