[PATCH] D20443: [PowerPC] - Legalize illegal vector types by widening rather than integer promotion
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 5 04:13:20 PDT 2016
nemanjai closed this revision.
nemanjai added a comment.
Committed revision 274535.
Comment at: lib/Target/PowerPC/PPCISelLowering.h:443
@@ +442,3 @@
+ /// legalized by promoting the integer element type is much worse than code
+ /// we generate if we widen the type for applicable vectory types.
+ TargetLoweringBase::LegalizeTypeAction getPreferredVectorAction(EVT VT)
> Can you say something about why it is worse. N years from now someone will wonder whether this is still true ;)
Thank you. Will do (and I'll fix the typo - they're not "vectory" types :)).
More information about the llvm-commits