[all-commits] [llvm/llvm-project] 837442: [RISCV] Cleanup setOperationAction calls for INTRI...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Apr 25 23:46:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 837442de9c60f539dd901a2cc389a413d132b1bc
https://github.com/llvm/llvm-project/commit/837442de9c60f539dd901a2cc389a413d132b1bc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-04-25 (Sun, 25 Apr 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Cleanup setOperationAction calls for INTRINSIC_WO_CHAIN/INTRINSIC_W_CHAIN
We have several extensions that need i32 to be Custom for
INTRINSIC_WO_CHAIN with RV64 so enable it for all RV64.
For V extension, make i32 Custom for RV64 and i64 Custom for RV32.
When the i32 or i64 is legal, the operation action doesn't matter.
LegalizeDAG checks MVT::Other rather than the real type.
More information about the All-commits
mailing list