Skip to content
  • Dan Gohman's avatar
    Fix a post-RA scheduling dependency bug. · 1ee0d41e
    Dan Gohman authored
    If a MachineInstr doesn't have a memoperand but has an opcode that
    is known to load or store, assume its memory reference may alias
    *anything*, including stack slots which the compiler completely
    controls.
    
    To partially compensate for this, teach the ScheduleDAG building
    code to do basic getUnderlyingValue analysis. This greatly
    reduces the number of instructions that require restrictive
    dependencies. This code will need to be revisited when we start
    doing real alias analysis, but it should suffice for now.
    
    llvm-svn: 63370
    1ee0d41e
Loading