The name is isOrdered but it's a string actually, which is a bit
confusing. We change its type to bit and get the order string via
its value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoV.td | ||
---|---|---|
274–277 | Do we need to use an argument to accomplish selection of O and U in addition to passing isOrdered? It's a little confusing to the user of this class that they should never pass the order argument. I think it would be a better interface to use !if() twice to avoid adding complexity for users of this class. WDYT? |
llvm/lib/Target/RISCV/RISCVInstrInfoV.td | ||
---|---|---|
274–277 | As what I said in description, I just use it to eliminate redundancies. But you are right, this can be confusing. |
Do we need to use an argument to accomplish selection of O and U in addition to passing isOrdered? It's a little confusing to the user of this class that they should never pass the order argument. I think it would be a better interface to use !if() twice to avoid adding complexity for users of this class. WDYT?