[PATCH] D52449: [PowerPC] Fix the assert of ISD::SIGN_EXTEND_INREG when type is v2i16 and v2i8

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 06:51:09 PDT 2018


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

LGTM. Thanks for fixing this.



================
Comment at: llvm/test/CodeGen/PowerPC/2018-09-19-sextinreg-vector-crash.ll:3
+
+; Ensure this does not crash
+
----------------
That's fine. Please add just a couple of basic checks for the code we generate. It doesn't have to be elaborate at all, just check for a couple of key instructions.


Repository:
  rL LLVM

https://reviews.llvm.org/D52449





More information about the llvm-commits mailing list