Commit c8bd8bc
committed
Fix the return types of
Change the definition of the HLSL `dot4add_i8packed` and
`dot4add_u8packed` intrinsics in `utils/hct/gen_intrin_main.txt` to
simply spell out the return types, rather than saying that their
return type is determined by their third argument.
This prevents DXC from trying to give those functions declarations like
declare i64 @"\01?dot4add_u8packed@hlsl@@YA_JII_J@Z"(i32, i32, i64 signext) #1
which seems to expect a 64-bit third argument and return value.
These functions are not generic, and they have only one overload, so
there is no need to use interesting `uComponentTypeId` values to get
the right effects, and `HLSLExternalSource::MatchArguments` seems to
get confused about how to treat argument types that affect the return
types.
Fixes #7400.dot4add_i8packed and dot4add_u8packed.1 parent 34b6d0f commit c8bd8bc
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | | - | |
| 342 | + | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
0 commit comments