[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)
commit9e1274fb4825e3e68f4bff2d32ab742932caa9f0
tree923aa1c2cf3a64a457fcab1b5a5192d7bea6b25d
parent8e50aba5f9734f7a083b6425b46cbc008e9ef0d0
[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

llvm-svn: 167040
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/include/llvm/InlineAsm.h
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp