diff options
author | Ivan Kosarev <ivan.kosarev@amd.com> | 2023-10-04 14:41:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 12:41:46 +0100 |
commit | cf80defae20b47502fb0921e9358dc90477e9563 (patch) | |
tree | b833d8fba7262c4a1635207605aafd0c3a792207 /llvm/lib/Object/ObjectFile.cpp | |
parent | d918b813c852fb4632875c683f4b9552eddea30d (diff) | |
download | llvm-cf80defae20b47502fb0921e9358dc90477e9563.zip llvm-cf80defae20b47502fb0921e9358dc90477e9563.tar.gz llvm-cf80defae20b47502fb0921e9358dc90477e9563.tar.bz2 |
[AMDGPU][GFX11] Do not rewrite V_FMA/FMAC_* to V_FMAAK_F16_t16 on operand legalization. (#66202)
V_FMAAK_F16_t16 takes VGPR_32_Lo128 operands whereas the original
instructions would have VGPR_32 operands. Switching the opcodes without
updating operands' register classes leads to MachineVerifier complaining
about the classes not matching instruction definitions. The problem only
reveals itself of builds with expensive checks enabled because of
missing -verify-machineinstrs in the test.
This is the third attempt to update CodeGen/AMDGPU/fma.f16.ll to run for
GFX11, following the second attempt in a1e38e0b8e3e, partially reverted
in eaf737a4e004.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions