Removes redundant Has16BitInsts and allows for future use
of OtherPredicates on V_DIV_FIXUP_F16_gfx9 and V_FMA_F16_gfx9
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/AMDGPU/VOP3Instructions.td | ||
|---|---|---|
| 306 | Can you make the same change here? | |
| llvm/lib/Target/AMDGPU/VOP3Instructions.td | ||
|---|---|---|
| 306 | No. We explicitly want to override predicates on the pseudo instruction but not the real, so assembly of V_DIV_FIXUP_LEGACY_F16_gfx9 works. SubtargetPredicate would be copied to the real. | |
Comment Actions
LGTM.
| llvm/lib/Target/AMDGPU/VOP3Instructions.td | ||
|---|---|---|
| 306 | OK. I still think this can be cleaned up a little, but it needn't hold up your patch. | |
Can you make the same change here?