Skip to content
  • Chris Lattner's avatar
    Simplify the side effect stuff a bit more and make licm/sinking · c8226f32
    Chris Lattner authored
    both work right according to the new flags.
    
    This removes the TII::isReallySideEffectFree predicate, and adds
    TII::isInvariantLoad. 
    
    It removes NeverHasSideEffects+MayHaveSideEffects and adds
    UnmodeledSideEffects as machine instr flags.  Now the clients
    can decide everything they need.
    
    I think isRematerializable can be implemented in terms of the
    flags we have now, though I will let others tackle that.
    
    llvm-svn: 45843
    c8226f32
Loading