[PATCH] D74785: [AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 15:20:41 PST 2020


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve2-bitwise-ternary.ll:153
+declare <vscale x 2 x i64> @llvm.aarch64.sve.nbsl.nxv2i64(<vscale x 2 x i64>,<vscale x 2 x i64>,<vscale x 2 x i64>)
\ No newline at end of file

----------------
dancgr wrote:
> efriedma wrote:
> > dancgr wrote:
> > > efriedma wrote:
> > > > Missing newline
> > > > 
> > > > Any particular reason you're only testing bsl with nxv2i64 operands?
> > > I didn't add other operand types for bsl because the class definition on SVEInstrFormats.td for bsl, bsl1n, bsl2n and nbsl were only defined for ZPR64. For eor3 and bcax there was instruction aliases for ZPR32, ZPR16 and ZPR8.
> > Do you have any idea why bsl is defined differently?
> Actually no, should they be the same? I can unify the definition and apply the aliases to the bsl instructions as well.
That makes sense to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74785





More information about the llvm-commits mailing list