[AMDGPU] Update uses of new VOP2 pseudos for GFX12 (#78155)
commit0a3a0ea5914cb4633f4f4c14f1ddc46ce067061a
authorJay Foad <jay.foad@amd.com>
Thu, 18 Jan 2024 13:26:13 +0000 (18 13:26 +0000)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 13:26:13 +0000 (18 13:26 +0000)
tree3e04689fa35762938a5b9804c6725f1d1ff400d2
parentf4fbbebb5edcaad459ce154c011f71fc38fe4052
[AMDGPU] Update uses of new VOP2 pseudos for GFX12 (#78155)

New pseudos were added for instructions that were natively VOP3 on
GFX11: V_ADD_F64_pseudo, V_MUL_F64_pseudo, V_MIN_NUM_F64, V_MAX_NUM_F64,
V_LSHLREV_B64_pseudo

---------

Co-authored-by: Mirko Brkusanin <Mirko.Brkusanin@amd.com>
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/clamp.ll
llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
llvm/test/CodeGen/AMDGPU/omod.ll