aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-12 18:14:25 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-12 18:14:25 +0000
commit57cd91f683d6852b4de8afeb0026e05d83eaaff7 (patch)
treef6e509741f65d1afc56336cf9220f11c99941117 /llvm/lib/CodeGen/MachineInstr.cpp
parentf6cb1ee75a0f2eb477506ebe0da2cc6e8579991e (diff)
downloadllvm-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