[llvm] [LLVM][NVPTX] Add NVPTX codegen support for clusterlaunchcontrol instruction (PR #134568)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 7 09:19:58 PDT 2025
================
@@ -1017,6 +1017,9 @@ NVPTXTargetLowering::NVPTXTargetLowering(const NVPTXTargetMachine &TM,
{MVT::v2i32, MVT::v4i32, MVT::v8i32, MVT::v16i32,
MVT::v32i32, MVT::v64i32, MVT::v128i32},
Custom);
+
+ // Enable custom lowering for i128 bit type supported in PTX
+ setOperationAction(ISD::INTRINSIC_W_CHAIN, MVT::i128, Custom);
----------------
AlexMaclean wrote:
This won't have any effect since `ISD::INTRINSIC_W_CHAIN` is only queried with `MVT::Other` in operation legalization.
https://github.com/llvm/llvm-project/pull/134568
More information about the llvm-commits
mailing list