Skip to content
  1. Jun 16, 2011
    • Anna Zaks's avatar
      Function::getNumBlockIDs() should be used instead of Function::size() to set... · 2c2aa9a9
      Anna Zaks authored
      Function::getNumBlockIDs() should be used instead of Function::size() to set the upper limit on the block IDs since basic blocks might get removed (simplified away) after being initially numbered. Plus the test case, in which SelectionDAGBuilder::visitBr() calls llvm::MachineFunction::removeFromMBBNumbering(), which introduces the hole in numbering leading to an assert in llc (prior to the fix).
      
      llvm-svn: 133113
      2c2aa9a9
    • Eli Friedman's avatar
      Add a limit to the number of instructions memdep will scan in a single block. ... · 8b098b0d
      Eli Friedman authored
      Add a limit to the number of instructions memdep will scan in a single block.  This prevents (at least in some cases) O(N^2) runtime in passes like DSE.
      
      The limit in this patch is probably too high, but it is enough to stop DSE from going completely insane on a testcase I have (which has a single block with around 50,000 non-aliasing stores in it).
      
      rdar://9471075
      
      llvm-svn: 133111
      8b098b0d
    • John McCall's avatar
      The ARC language-specific optimizer. Credit to Dan Gohman. · d935e9c3
      John McCall authored
      llvm-svn: 133108
      d935e9c3
    • Owen Anderson's avatar
      Add a new MVT::untyped. This will be used in future work for modelling ISA... · 96adc4a5
      Owen Anderson authored
      Add a new MVT::untyped.  This will be used in future work for modelling ISA features like register pairs and lists with "interesting" constraints (such as ARM NEON contiguous register lists or even-odd paired registers).  We need to be able to generate these instructions (often from intrinsics), but don't want to have to assign a legal type to them.  Instead, we'll use an "untyped" edge to bypass the type-checking and simply ensure that the register classes match.
      
      llvm-svn: 133106
      96adc4a5
    • Jakob Stoklund Olesen's avatar
      Use set operations instead of plain lists to enumerate register classes. · 99f35eab
      Jakob Stoklund Olesen authored
      This simplifies many of the target description files since it is common
      for register classes to be related or contain sequences of numbered
      registers.
      
      I have verified that this doesn't change the files generated by TableGen
      for ARM and X86. It alters the allocation order of MBlaze GPR and Mips
      FGR32 registers, but I believe the change is benign.
      
      llvm-svn: 133105
      99f35eab
  2. Jun 15, 2011
  3. Jun 14, 2011
Loading