[SROA] Disable non-whole-alloca splits by default
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 18 Dec 2017 06:47:37 +0000 (06:47 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Mon, 18 Dec 2017 06:47:37 +0000 (06:47 +0000)
commitc6faf15459ad276ed8e44341783d4d663d8a4d2a
tree64191fc630586095f7a9a94f19dc3896bf24260a
parent8e2837cc6e0bc07d0f2722aa277a2c433946df05
[SROA] Disable non-whole-alloca splits by default

This patch introduce a switch to control splitting of non-whole-alloca slices with default off.
The switch will be default on again after fixing an issue reported in PR35657.

llvm-svn: 320958
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/DebugInfo/X86/sroasplit-2.ll
llvm/test/Transforms/SROA/basictest.ll
llvm/test/Transforms/SROA/big-endian.ll