[clang] [llvm] [HLSL] Implement `WaveReadLaneAt` intrinsics (PR #110739)
Finn Plummer via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 13:56:57 PDT 2024
================
@@ -414,13 +434,15 @@ Expected<CallInst *> DXILOpBuilder::tryCreateOp(dxil::OpCode OpCode,
uint16_t ValidTyMask = Prop->Overloads[*OlIndexOrErr].ValidTys;
- OverloadKind Kind = getOverloadKind(OverloadTy);
+ OverloadKind Kind = getOverloadKind(OverloadTy, Prop->AllowVectorOverloads);
// Check if the operation supports overload types and OverloadTy is valid
// per the specified types for the operation
if ((ValidTyMask != OverloadKind::UNDEFINED) &&
- (ValidTyMask & (uint16_t)Kind) == 0)
+ (ValidTyMask & (uint16_t)Kind) == 0) {
+ OverloadTy->print(llvm::errs());
----------------
inbelic wrote:
Whoops, will remove when I address other comments
https://github.com/llvm/llvm-project/pull/110739
More information about the llvm-commits
mailing list