[llvm] [NVPTX] support immediate values in st.param instructions (PR #91523)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 15:59:50 PDT 2024
================
@@ -2637,25 +2637,49 @@ class LoadParamRegInst<NVPTXRegClass regclass, string opstr> :
[(set regclass:$dst, (LoadParam (i32 0), (i32 imm:$b)))]>;
let mayStore = true in {
- class StoreParamInst<NVPTXRegClass regclass, string opstr> :
+ class StoreParamInstReg<NVPTXRegClass regclass, string opstr> :
----------------
AlexMaclean wrote:
If I were to do this how would I define the `StoreParamI8TruncI32` and `StoreParamI8TruncI64` instructions for which I do not want a `_i` variant?
https://github.com/llvm/llvm-project/pull/91523
More information about the llvm-commits
mailing list