llvm-project
a3165398 - AMDGPU: Fix overly conservative immediate operand check (#127563)

Commit
193 days ago
AMDGPU: Fix overly conservative immediate operand check (#127563) The real legality check is peformed later anyway, so this was unnecessarily blocking immediate folds in handled cases. This also stops folding s_fmac_f32 to s_fmamk_f32 in a few tests, but that seems better. The globalisel changes look suspicious, it may be mishandling constants for VOP3P instructions.
Author
Parents
Loading