Skip to content
  1. Jan 27, 2011
  2. Jan 26, 2011
  3. Jan 25, 2011
  4. Jan 24, 2011
  5. Jan 23, 2011
  6. Jan 21, 2011
    • Andrew Trick's avatar
      Enable support for precise scheduling of the instruction selection · bd428ec5
      Andrew Trick authored
      DAG. Disable using "-disable-sched-cycles".
      
      For ARM, this enables a framework for modeling the cpu pipeline and
      counting stalls. It also activates several heuristics to drive
      scheduling based on the model. Scheduling is inherently imprecise at
      this stage, and until spilling is improved it may defeat attempts to
      schedule. However, this framework provides greater control over
      tuning codegen.
      
      Although the flag is not target-specific, it should have very little
      affect on the default scheduler used by x86. The only two changes that
      affect x86 are:
      - scheduling a high-latency operation bumps the current cycle so independent
        operations can have their latency covered. i.e. two independent 4
        cycle operations can produce results in 4 cycles, not 8 cycles.
      - Two operations with equal register pressure impact and no
        latency-based stalls on their uses will be prioritized by depth before height
        (height is irrelevant if no stalls occur in the schedule below this point).
      
      llvm-svn: 123971
      bd428ec5
    • Andrew Trick's avatar
      Convert -enable-sched-cycles and -enable-sched-hazard to -disable · 47ff14b0
      Andrew Trick authored
      flags. They are still not enable in this revision.
      
      Added TargetInstrInfo::isZeroCost() to fix a fundamental problem with
      the scheduler's model of operand latency in the selection DAG.
      
      Generalized unit tests to work with sched-cycles.
      
      llvm-svn: 123969
      47ff14b0
  7. Jan 20, 2011
Loading