Skip to content
  1. Sep 29, 2011
    • Jakob Stoklund Olesen's avatar
      Rewrite MachineInstr::addOperand() to avoid NumImplicitOps. · 2318d1e0
      Jakob Stoklund Olesen authored
      The function needs to scan the implicit operands anyway, so no
      performance is won by caching the number of implicit operands added to
      an instruction.
      
      This also fixes a bug when adding operands after an implicit operand has
      been added manually.  The NumImplicitOps count wasn't kept up to date.
      
      MachineInstr::addOperand() will now consistently place all explicit
      operands before all the implicit operands, regardless of the order they
      are added.  It is possible to change an MI opcode and add additional
      explicit operands.  They will be inserted before any existing implicit
      operands.
      
      The only exception is inline asm instructions where operands are never
      reordered.  This is because of a hack that marks explicit clobber regs
      on inline asm as <implicit-def> to please the fast register allocator.
      This hack can go away when InstrEmitter and FastIsel can add exact
      <dead> flags to physreg defs.
      
      llvm-svn: 140744
      2318d1e0
  2. Sep 28, 2011
  3. Sep 27, 2011
  4. Sep 26, 2011
  5. Sep 25, 2011
  6. Sep 24, 2011
  7. Sep 23, 2011
  8. Sep 22, 2011
  9. Sep 21, 2011
  10. Sep 20, 2011
    • Andrew Trick's avatar
      Restore hasPostISelHook tblgen flag. · 52363bdb
      Andrew Trick authored
      No functionality change. The hook makes it explicit which patterns
      require "special" handling. i.e. it self-documents tblgen
      deficiencies. I plan to add verification in ExpandISelPseudos and
      Thumb2SizeReduce to catch any missing hasPostISelHooks. Otherwise it's
      too fragile.
      
      llvm-svn: 140160
      52363bdb
    • Andrew Trick's avatar
      ARM isel bug fix for adds/subs operands. · 8586e62d
      Andrew Trick authored
      Modified ARMISelLowering::AdjustInstrPostInstrSelection to handle the
      full gamut of CPSR defs/uses including instructins whose "optional"
      cc_out operand is not really optional. This allowed removal of the
      hasPostISelHook to simplify the .td files and make the implementation
      more robust.
      Fixes rdar://10137436: sqlite3 miscompile
      
      llvm-svn: 140134
      8586e62d
    • Andrew Trick's avatar
      whitespace · 53df4b6d
      Andrew Trick authored
      llvm-svn: 140133
      53df4b6d
  11. Sep 18, 2011
Loading