Make OMod explicit instead of implied by HasModifiers in the
operand list. Requires explicitly setting HasOMod=1 for
irregular OMod usage in instruction V_CVT_{U,I}*
Details
Details
- Reviewers
rampitec foad dp - Commits
- rG5531f24cc2cc: [AMDGPU] Make OMod explicit for V_CVT_{U,I}*
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM since these instructions are documented as supporting OMOD.
llvm/lib/Target/AMDGPU/SIInstrInfo.td | ||
---|---|---|
1626 | Not really related to your patch, but couldn't we clean up all these nested !ifs by using a big !con of little fragments like !if(HasOMod, (ins omod0:$omod), (ins))? |
Not really related to your patch, but couldn't we clean up all these nested !ifs by using a big !con of little fragments like !if(HasOMod, (ins omod0:$omod), (ins))?