[all-commits] [llvm/llvm-project] 3b1fa4: [RISCV] Fix reporting of incorrect commutable oper...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Fri Sep 3 15:48:54 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 3b1fa4aef0069646522fac0775325bc3716efec4
https://github.com/llvm/llvm-project/commit/3b1fa4aef0069646522fac0775325bc3716efec4
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-09-03 (Fri, 03 Sep 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
A llvm/test/CodeGen/RISCV/rvv/commuted-op-indices-regression.mir
Log Message:
-----------
[RISCV] Fix reporting of incorrect commutable operand indices
This patch fixes an issue where RISCV's `findCommutedOpIndices` would
incorrectly return the pseudo `CommuteAnyOperandIndex` as a commutable
operand index, rather than fixing a specific index.
Reviewed By: rogfer01
Differential Revision: https://reviews.llvm.org/D108206
(cherry picked from commit 5b06cbac11e53ce55f483c1852a108012507a6bb)
More information about the All-commits
mailing list