[PATCH] D83395: [SVE] Code generation for fixed length vector truncates.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 08:13:33 PDT 2020


paulwalker-arm added a comment.

In D83395#2139892 <https://reviews.llvm.org/D83395#2139892>, @efriedma wrote:

> Probably worth adding a testcase for truncating from `<4 x i64>` to `<4 x i8>`.


I'm happy to add this but just wanted to query what it gives.  `<4 x i8>` is not a legal type so the test just exercises the same truncate path as `<4 x i64>` to `<4 x i16>`, or is this what you want  protected (i.e. ensure the bytes remain where they're expected to be).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83395





More information about the llvm-commits mailing list