Skip to content
  • Evan Cheng's avatar
    Do not model all INLINEASM instructions as having unmodelled side effects. · 6eb516db
    Evan Cheng authored
    Instead encode llvm IR level property "HasSideEffects" in an operand (shared
    with IsAlignStack). Added MachineInstrs::hasUnmodeledSideEffects() to check
    the operand when the instruction is an INLINEASM.
    
    This allows memory instructions to be moved around INLINEASM instructions.
    
    llvm-svn: 123044
    6eb516db
Loading