[PATCH] SROA: extract instead of shuffle when performing vector/array type punning
JF Bastien
jfb at chromium.org
Sat Feb 7 19:05:12 PST 2015
================
Comment at: lib/Transforms/Scalar/SROA.cpp:3065
@@ -3005,2 +3064,3 @@
Src = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), "load");
- Src = extractVector(IRB, Src, BeginIndex, EndIndex, "vec");
+ // TODO(jfb) Improve this: in some cases we can figure out a better target
+ // type which would allow generating an extract directly.
----------------
majnemer wrote:
> TODO(name) is not typical LLVM style.
Done.
http://reviews.llvm.org/D7487
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list