[llvm] [NVPTX] support immediate values in st.param instructions (PR #91523)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 14:59:49 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> :
----------------
Artem-B wrote:
I'd move the implementation into `def _r:` below, and used `...._r` instead for `StoreParamI8TruncI32`.
https://github.com/llvm/llvm-project/pull/91523
More information about the llvm-commits
mailing list