[PATCH] D108705: [AArch64][SVE] Add API for conversion between SVE predicate pattern and element count. NFC

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 26 03:33:48 PDT 2021


paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:657
 
   return NumElts >= MinNumElts
              ? Optional<Instruction *>(IC.replaceInstUsesWith(
----------------
As a bit of extra tidying perhaps merge this `MinNumElts > NumElts` with the new `if (!MinNumElts)`. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108705



More information about the llvm-commits mailing list