llvm-6502/lib/Transforms
Bob Wilson a1fe2948ed Fix SROA to avoid unnecessary scalar conversions for 1-element vectors.
When a 1-element vector alloca is promoted, a store instruction can often be
rewritten without converting the value to a scalar and using an insertelement
instruction to stuff it into the new alloca.  This patch just adds a check
to skip that conversion when it is unnecessary.  This turns out to be really
important for some ARM Neon operations where <1 x i64> is used to get around
the fact that i64 is not a legal type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184870 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-25 19:09:50 +00:00
..
Hello
InstCombine [APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteNonZero. 2013-06-19 21:23:18 +00:00
Instrumentation Fix nondeterminism in .gcno file generation. 2013-06-18 06:38:21 +00:00
IPO Add a flag to defer vectorization into a phase after the inliner and its 2013-06-24 07:21:47 +00:00
ObjCARC [objc-arc-opts] Make IsTrackingImpreciseReleases a const method. 2013-06-21 20:52:49 +00:00
Scalar Fix SROA to avoid unnecessary scalar conversions for 1-element vectors. 2013-06-25 19:09:50 +00:00
Utils Remove the simplify-libcalls pass (finally) 2013-06-20 19:48:07 +00:00
Vectorize Fix a typo in the code that collected the costs recursively. 2013-06-25 05:30:56 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile