aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-23 08:27:54 +0000
committerChris Lattner <sabre@nondot.org>2011-01-23 08:27:54 +0000
commit9491dee24eb6a3e4ccaa5b661f575450ae7a72e3 (patch)
tree20ca51884b17dca2661533eb4f7b754b66e11913 /llvm/lib/Support/APFloat.cpp
parentc5826824b5d2c922464606d5c59c016aae0bee60 (diff)
downloadllvm-9491dee24eb6a3e4ccaa5b661f575450ae7a72e3.zip
llvm-9491dee24eb6a3e4ccaa5b661f575450ae7a72e3.tar.gz
llvm-9491dee24eb6a3e4ccaa5b661f575450ae7a72e3.tar.bz2
Enhance SRoA to be more aggressive about scalarization of aggregate allocas
that have PHI or select uses of their element pointers. This can often happen when instcombine sinks two loads into a successor, inserting a phi or select. With this patch, we can scalarize the alloca, but the pinned elements are not yet promoted. This is still a win for large aggregates where only one element is used. This fixes rdar://8904039 and part of rdar://7339113 (poor codegen on stringswitch). llvm-svn: 124070
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions