[llvm-commits] inline assembly operand type MEMUSE

Florian Brandner fbrandne at mail.tuwien.ac.at
Mon Aug 13 23:56:21 PDT 2007


hi,

i've added a new type of inline assembly operands called MEMUSE, for 'm'
constraints that only read from memory.

in addition, i created an enum - InlineAsmFlags - of all possible operand
types (REGUSE, REGDEF, IMMUSE. MEMUSE, MEMDEF) and two global constants
InlineAsmMask and InlineAsmShift to extract these flags and the machine
operand count.

i've tested it on a llvm 2.0 based private backend and a test
application with lots of inline assembly. i did not test llvm-trunk very
carefully because of lacking applications that use inline assembly - my
handcrafted test cases work though.

florian



-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlineasm_memuse.patch
Type: text/x-patch
Size: 12288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070814/662a8f71/attachment.bin>


More information about the llvm-commits mailing list