Add the ability to pass in flags to buildInstr calls. Currently no validation is performed but that can be easily performed based on the opcode (if necessary).
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | ||
---|---|---|
797 | The other instances of this have Optional<unsigned> Flags = None Should this also have that? |
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | ||
---|---|---|
797 | I believe default parameter values are only allowed only once during the declaration (it's done in MachineIRBuilder.h) . |
The other instances of this have
Optional<unsigned> Flags = None
Should this also have that?