Files
clang-p2996/llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
Mirko Brkušanin 817cd72645 [AMDGPU] Fix folding clamp into pseudo scalar instructions (#100568)
Clamp is canonically a v_max* instruction with a VGPR dst. Folding clamp
into a pseudo scalar instruction can cause issues due to a change in
regbank. We fix this with a copy.
2024-07-25 18:19:26 +02:00

75 KiB