[PATCH] D124224: [AArch64][SVE] Add some logical operation DestructiveBinaryComm patterns
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 01:13:41 PDT 2022
Allen added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:2773
+ DestructiveInstTypeEnum flags,
+ string revname="", bit isOrig=0> {
+ let DestructiveInstType = flags in {
----------------
david-arm wrote:
> I don't think we need these because there aren't any reverse logical operations.
I add these arguments of string revname="" and bit isOrig=0 as the API SVEPseudo2Instr need ?
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:2776
+ def _B : sve_int_bin_pred_arit_log<0b00, 0b11, opc, asm, ZPR8>,
+ SVEPseudo2Instr<Ps # _B, 1>, SVEInstr2Rev<NAME # _B, revname # _B, isOrig>;
+ def _H : sve_int_bin_pred_arit_log<0b01, 0b11, opc, asm, ZPR16>,
----------------
david-arm wrote:
> Again, I don't think we need any of these for the logical operations.
Thanks very much , can you help to detailly point out what's "these" ? I may don't get your idea?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124224/new/
https://reviews.llvm.org/D124224
More information about the llvm-commits
mailing list