summaryrefslogtreecommitdiffstats
path: root/prelude
diff options
context:
space:
mode:
authorJulius Ikkala <julius.ikkala@gmail.com>2025-10-05 04:03:27 +0300
committerGitHub <noreply@github.com>2025-10-05 01:03:27 +0000
commit04093bcbaea9784cdffe55f3931f50db7ad9f808 (patch)
treef612a78fb4ac1342af881b9b5acfd89fe8e3f843 /prelude
parent3375cde1add65894b8f2e2780cc91ab4ccf6d8fb (diff)
Matrix legalization for missing instructions & MakeMatrix of vectors (#8605)
Fixes these issues: * During matrix legalization, `MakeMatrix` crashed if it was given a list of vectors instead of individual elements. * Matrix casts, IRem, and Frem would be emitted using arrays, e.g. `IntToFloatCast` with `float2[2]` parameters. I found these bugs while enabling various `hlsl-intrinsic` tests for the LLVM target. For now, I've chose to get rid of all matrix types with the matrix legalization pass so that the LLVM emitter doesn't need to be aware. These bugs were preventing `tests/hlsl-intrinsic/matrix-double-reduced-intrinsic.slang` and `tests/hlsl-intrinsic/matrix-double.slang` from passing there.
Diffstat (limited to 'prelude')
0 files changed, 0 insertions, 0 deletions