[PATCH] D22820: [GlobalISel] improved interface to MachineIRBuilder::buildInstr

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 08:02:10 PDT 2016


ab added a comment.

It does seem nicer!

Here's a simpler alternative: have buildInstr return the builder, and replace addReg with explicit addDef/addUse?  That spares you the template hackery for a similar result. WDYT?


Repository:
  rL LLVM

https://reviews.llvm.org/D22820





More information about the llvm-commits mailing list