================
@@ -5058,7 +5058,7 @@ def HLSLWaveActiveAnyTrue : LangBuiltin<"HLSL_LANG"> {
def HLSLWaveActiveBallot : LangBuiltin<"HLSL_LANG"> {
let Spellings = ["__builtin_hlsl_wave_active_ballot"];
let Attributes = [NoThrow, Const];
- let Prototype = "_ExtVector<4, unsigned int>(bool)";
+ let Prototype = "void(bool)";
----------------
inbelic wrote:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/waveballot seems
to indicate that the built-in should be a uint4.
Should it instead be a uint4 and only change to the custom type during lowering
to the dxil ops?
https://github.com/llvm/llvm-project/pull/175105
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits