[PATCH] D140530: [RISCV] Add integer scalar instructions to isAssociativeAndCommutative
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 22 01:33:39 PST 2022
kito-cheng added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:2616-2618
+ // If both instructions have no FRM operand, treat it as equal FRM.
+ if (MI1FrmOpIdx < 0 && MI2FrmOpIdx < 0)
+ return true;
----------------
This seems out of scope of this patch?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140530/new/
https://reviews.llvm.org/D140530
More information about the llvm-commits
mailing list