diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-12 18:14:25 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-12 18:14:25 +0000 |
commit | 57cd91f683d6852b4de8afeb0026e05d83eaaff7 (patch) | |
tree | f6e509741f65d1afc56336cf9220f11c99941117 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | f6cb1ee75a0f2eb477506ebe0da2cc6e8579991e (diff) | |
download | llvm-57cd91f683d6852b4de8afeb0026e05d83eaaff7.zip llvm-57cd91f683d6852b4de8afeb0026e05d83eaaff7.tar.gz llvm-57cd91f683d6852b4de8afeb0026e05d83eaaff7.tar.bz2 |
[ms-inline asm] If we have a single asm operand that maps to multiple
MCOperands then iterate over all of then when computing clobbers, inputs and
outputs.
On x86 the 1-to-many mapping is a memory operand that includes a BaseReg(reg),
MemScale(imm), MemIndexReg(reg), an Expr(MCExpr or imm) and a MemSegReg(reg).
Invalid register (Op.getReg() == 0) are not considered when computing clobber.
llvm-svn: 163728
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions