[PATCH] D46536: [Power9]Legalize and emit code for W vector extract and convert to Quad-Precision
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 18 06:41:54 PDT 2018
nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.
LGTM. Feel free to address the minor nit on the commit.
================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:3202
+ }
+ def : Pat<(f128 (sint_to_fp (i32 (extractelt v4i32:$src, 2)))),
+ (f128 (XSCVSDQP (EXTRACT_SUBREG (VEXTSW2D $src), sub_64)))>;
----------------
Nit: For consistency, move this up before the loop since that's the order of definitions in the big-endian block above.
https://reviews.llvm.org/D46536
More information about the llvm-commits
mailing list