[inline asm] Implement mayLoad and mayStore for inline assembly. In general,
authorChad Rosier <mcrosier@apple.com>
Tue, 30 Oct 2012 19:11:54 +0000 (19:11 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 30 Oct 2012 19:11:54 +0000 (19:11 +0000)
commit3d71688476951d56ac00a81b17c2f83fd781b208
tree13c4910a677393f45e540d495ba0a5fee1a3f0eb
parente7b406d7ac150189522f0a139f1a2f76bde2cb26
[inline asm] Implement mayLoad and mayStore for inline assembly.  In general,
the MachineInstr MayLoad/MayLoad flags are based on the tablegen implementation.
For inline assembly, however, we need to compute these based on the constraints.

Revert r166929 as this is no longer needed, but leave the test case in place.
rdar://12033048 and PR13504

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167040 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
include/llvm/InlineAsm.h
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp