diff options
author | Frederik Harwath <frederik.harwath@amd.com> | 2025-05-14 07:37:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-14 07:37:01 +0200 |
commit | 1377535d993ca9457978d0065dde59ccf1aca187 (patch) | |
tree | 079e4a3dbbf2b022234a01a1318461d087fd9fa3 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 0b490f11da245ad178bb4389cd8bfd858262aca6 (diff) | |
download | llvm-1377535d993ca9457978d0065dde59ccf1aca187.zip llvm-1377535d993ca9457978d0065dde59ccf1aca187.tar.gz llvm-1377535d993ca9457978d0065dde59ccf1aca187.tar.bz2 |
[AMDGPU] si-peephole-sdwa: Fix cndmask vcc use for wave32 (#139541)
Before V_CNDMASK_B32_e64 gets converted to SDWA form, a conversion to
V_CNDMASK_B32_e32 occurs.
The vcc use of this instruction must be fixed into a vcc_lo use for wave32.
This fix only happens after the final conversion to the SDWA form. This led
to a compiler error in situations where the conversion to SDWA aborts.
Make sure that the vcc-fix gets applied even if the SDWA conversion is
not completed.
---------
Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions