[PATCH] D82483: [SVE] Code generation for fixed length vector adds.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 10:48:04 PDT 2020


paulwalker-arm added reviewers: sdesmalen, david-arm.
paulwalker-arm added a comment.

I've deviated from the base fixed length support to create this patch that adds the base work that's likely common to many of the arithmetic and logical operations.  I went with refactoring LowerToPredicatedOp as it's likely to be used in all the same places as those required for fixed length types.

I've probably gone overboard with the tests but I figure doing so for just the adds gives us enough coverage so that people adding support for similar operations only require minimal tests.  Perhaps this matches what I've done for element types like double or perhaps we can just add tests for a single vector length (e.g. 512bit).

NOTE: Patch requires D82466 <https://reviews.llvm.org/D82466> for sve-fixed-length-int-arith.ll to pass.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82483





More information about the llvm-commits mailing list