[all-commits] [llvm/llvm-project] 3cd503: [NFC][RISCV] Move calculations of SDNode policy op...
Anton Sidorenko via All-commits
all-commits at lists.llvm.org
Tue Sep 20 10:37:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3cd503f181612364e099f1f3d921fe95a5f38070
https://github.com/llvm/llvm-project/commit/3cd503f181612364e099f1f3d921fe95a5f38070
Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Log Message:
-----------
[NFC][RISCV] Move calculations of SDNode policy operand idx to a separate function
Since there is no guaranteed correspondence of SDNode and MI operands, we need
getters simular to RISCVII::get*OpNum for SDNodes.
More uses of getVecPolicyOpIdx will be added in D130895.
Reviewed By: craig.topper, arcbbb
Differential Revision: https://reviews.llvm.org/D134179
More information about the All-commits
mailing list