[PATCH] D46774: [Power9]Legalize and emit code for HWord/Byte vector extract and convert to Quad-Precision

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 27 22:33:12 PDT 2018


nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:3188
+
+      def : Pat<(f128 (uint_to_fp
+                        (and (i32 (vector_extract v8i16:$src, Idx)), 65535))),
----------------
Please put a comment here noting that the SDAG will add this and due to an `i16` being extracted as an `i32` value.


https://reviews.llvm.org/D46774





More information about the llvm-commits mailing list