Use the already provided helper function to get the operand type so that we can detect whether the vpr is being used as a predicate or not. Also use existing helpers to get the predicate indices when we converting the vpt blocks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, with just one nit:
At first sight, this looked like a NFC, but it is not. So perhaps it's good to comment somewhere in the description, code, and/or the test case what the motivation is for this change.