[llvm] [NVPTX] support immediate values in st.param instructions (PR #91523)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 09:01:33 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:
Thanks for explaining, I've added an argument as you describe but with an `if` to prevent the `_i` variants from being defined. I agree it is cleaner to unify the definitions as they are identical.
https://github.com/llvm/llvm-project/pull/91523
More information about the llvm-commits
mailing list