[all-commits] [llvm/llvm-project] ce35e8: [RISCV][ISel] Remove the commutative flag on SUB

qcolombet via All-commits all-commits at lists.llvm.org
Tue Sep 27 13:15:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce35e8b4265d1145247143ba7607c2fdb40f2233
      https://github.com/llvm/llvm-project/commit/ce35e8b4265d1145247143ba7607c2fdb40f2233
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV][ISel] Remove the commutative flag on SUB

I wasn't able to produce a testcase for that because right now VWSUB is
only generated from VWSUB_W and from there to trigger the commutative
bug we would need to grab VWSUB where the splat value is on the LHS,
which is currently not matched.

Differential Revision: https://reviews.llvm.org/D134701




More information about the All-commits mailing list