Skip to content
  1. Apr 11, 2012
    • Owen Anderson's avatar
      Move the constant-folding support for FP_ROUND in SelectionDAG from the... · 6f1ee163
      Owen Anderson authored
      Move the constant-folding support for FP_ROUND in SelectionDAG from the one-operand version of getNode() to the two-operand version, since it became a two-operand node at sound point.
      Zap a testcase that this allows us to completely fold away.
      
      llvm-svn: 154447
      6f1ee163
    • Kostya Serebryany's avatar
      [tsan] two more compile-time optimizations: · 5ba61ac6
      Kostya Serebryany authored
      - don't isntrument reads from constant globals.
      Saves ~1.5% of instrumented instructions on CPU2006
      (counting static instructions, not their execution).
      - don't insrument reads from vtable (which is a global constant too).
      Saves ~5%.
      
      I did not measure the run-time impact of this,
      but it is certainly non-negative.
      
      llvm-svn: 154444
      5ba61ac6
  2. Apr 10, 2012
  3. Apr 09, 2012
Loading