Details
Details
- Reviewers
rampitec Joe_Nash - Group Reviewers
Restricted Project - Commits
- rGafa0ed33df07: [AMDGPU] Fix shrinking of F16 FMA on newer subtargets
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
llvm/test/CodeGen/AMDGPU/gfx10-shrink-mad-fma.mir | ||
---|---|---|
195 | I guess the test case before was technically invalid, because V_FMA_F16_e64 should not exist on GFX10, only GFX8. But afaik we do not check whether an instruction is valid on the subtarget in SIInstrInfo::verifyInstruction. |
llvm/test/CodeGen/AMDGPU/gfx10-shrink-mad-fma.mir | ||
---|---|---|
195 | Right. See https://reviews.llvm.org/D129506#inline-1246267. |
I guess the test case before was technically invalid, because V_FMA_F16_e64 should not exist on GFX10, only GFX8. But afaik we do not check whether an instruction is valid on the subtarget in SIInstrInfo::verifyInstruction.