aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-07 23:50:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-07 23:50:32 +0000
commit6eb516dbeaf4effee65dd609a7099397bf52aed5 (patch)
treec7770705fb274c93e1778d512398fad221d73dd5 /llvm/lib/CodeGen/StackProtector.cpp
parent006089b761d0b92c2ce5a5f14ebe2b34a053b8b4 (diff)
downloadllvm-6eb516dbeaf4effee65dd609a7099397bf52aed5.zip
llvm-6eb516dbeaf4effee65dd609a7099397bf52aed5.tar.gz
llvm-6eb516dbeaf4effee65dd609a7099397bf52aed5.tar.bz2
Do not model all INLINEASM instructions as having unmodelled side effects.
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
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions