Skip to content
  • Bill Wendling's avatar
    Change MachineInstrBuilder::addReg() to take a flag instead of a list of · f7b83c7a
    Bill Wendling authored
    booleans. This gives a better indication of what the "addReg()" is
    doing. Remembering what all of those booleans mean isn't easy, especially if you
    aren't spending all of your time in that code.
    
    I took Jakob's suggestion and made it illegal to pass in "true" for the
    flag. This should hopefully prevent any unintended misuse of this (by reverting
    to the old way of using addReg()).
    
    llvm-svn: 71722
    f7b83c7a
Loading