Skip to content
  1. Aug 11, 2012
    • Jakob Stoklund Olesen's avatar
      Add a proper if-conversion cost model. · bc55bfde
      Jakob Stoklund Olesen authored
      Detect when there is not enough available ILP, so if-conversion can't
      speculate instructions for free.
      
      Compute the lengthening of the critical path when inserting a select
      instruction that depends on the condition as well as both sides of the
      if.
      
      Reject conversions that would stretch the critical path by more than
      half a mispredict penalty.
      
      llvm-svn: 161713
      bc55bfde
    • Jakob Stoklund Olesen's avatar
      Give MachineTraceMetrics its own debug tag. · a0042acd
      Jakob Stoklund Olesen authored
      llvm-svn: 161712
      a0042acd
    • Jakob Stoklund Olesen's avatar
      Add more trace query functions. · 34844209
      Jakob Stoklund Olesen authored
      Trace::getResourceLength() computes the number of cycles required to
      execute the trace when ignoring data dependencies. The number can be
      compared to the critical path to estimate the trace ILP.
      
      Trace::getPHIDepth() computes the data dependency depth of a PHI in a
      trace successor that isn't necessarily part of the trace.
      
      llvm-svn: 161711
      34844209
  2. Aug 10, 2012
  3. Aug 09, 2012
  4. Aug 08, 2012
  5. Aug 07, 2012
  6. Aug 04, 2012
  7. Aug 03, 2012
    • Bob Wilson's avatar
      Try to reduce the compile time impact of r161232. · 871701c6
      Bob Wilson authored
      The previous change caused fast isel to not attempt handling any calls to
      builtin functions.  That included things like "printf" and caused some
      noticable regressions in compile time.  I wanted to avoid having fast isel
      keep a separate list of functions that had to be kept in sync with what the
      code in SelectionDAGBuilder.cpp was handling.  I've resolved that here by
      moving the list into TargetLibraryInfo.  This is somewhat redundant in
      SelectionDAGBuilder but it will ensure that we keep things consistent.
      
      llvm-svn: 161263
      871701c6
    • Bob Wilson's avatar
      Fix memcmp code-gen to honor -fno-builtin. · fa59485b
      Bob Wilson authored
      I noticed that SelectionDAGBuilder::visitCall was missing a check for memcmp
      in TargetLibraryInfo, so that it would use custom code for memcmp calls even
      with -fno-builtin.  I also had to add a new -disable-simplify-libcalls option
      to llc so that I could write a test for this.
      
      llvm-svn: 161262
      fa59485b
    • Jakob Stoklund Olesen's avatar
      Completely eliminate VNInfo flags. · daae19f7
      Jakob Stoklund Olesen authored
      The 'unused' state of a value number can be represented as an invalid
      def SlotIndex. This also exposed code that shouldn't have been looking
      at unused value VNInfos.
      
      llvm-svn: 161258
      daae19f7
Loading