[all-commits] [llvm/llvm-project] 376233: [RISCV] Use TargetConstant for CSR number for READ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Nov 8 15:10:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 376233113e254e47ea9624c770150c1e90bbce80
https://github.com/llvm/llvm-project/commit/376233113e254e47ea9624c770150c1e90bbce80
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use TargetConstant for CSR number for READ_CSR/WRITE_CSR.
This is consistent with what we do for other operands that are required
to be constants.
I don't think this results in any real changes. The pattern match
code for isel treats ConstantSDNode and TargetConstantSDNode the same.
More information about the All-commits
mailing list