[all-commits] [llvm/llvm-project] a79332: [RISCV] Fix reporting of incorrect commutable oper...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Aug 24 10:20:55 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: a7933290f72a08dc060d38fa52772a9cc33ed9ba
https://github.com/llvm/llvm-project/commit/a7933290f72a08dc060d38fa52772a9cc33ed9ba
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2021-08-24 (Tue, 24 Aug 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