[PATCH] D83568: [SVE] Ensure fixed length vector fptrunc operations bigger than NEON are not considered legal.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 09:29:27 PDT 2020


paulwalker-arm marked an inline comment as done.
paulwalker-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:966
       // 64bit results can mean a bigger than NEON input.
-      for (auto VT : {MVT::v8i8, MVT::v4i16, MVT::v2i32})
+      for (auto VT : {MVT::v8i8, MVT::v4i16})
         setOperationAction(ISD::TRUNCATE, VT, Custom);
----------------
When doing the FP_ROUND work I realised there are no truncates with a result type of v2i32 that can have a legal type that is bigger than 128bit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83568/new/

https://reviews.llvm.org/D83568





More information about the llvm-commits mailing list