[PATCH] [CodeGenPrepare] Move extractelement close to store if they can be combined.
Quentin Colombet
qcolombet at apple.com
Fri Oct 24 15:41:19 PDT 2014
- Do not introduce undefined behavior when the variable to be promoted is on the rhs of a division.
- Support ConstantFP value for promotion.
- Change the target hook to something more precise that takes the vector type and the index of the extract.
- Use as many undef as possible when materializing the vector constant.
- Add a stress mode to cover all the added features even if they were not relevant for ARM.
- Update the test cases: ConstantFP, Division (def and undef), Splat Constant, and as many as possible undef.
http://reviews.llvm.org/D5921
Files:
include/llvm/Target/TargetLowering.h
lib/CodeGen/CodeGenPrepare.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
test/CodeGen/ARM/vector-promotion.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5921.15446.patch
Type: text/x-patch
Size: 32550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141024/0c181492/attachment.bin>
More information about the llvm-commits
mailing list