[llvm-commits] Fixing Bug 13662: paired register for inline asm with 64-bit data on ARM

Weiming Zhao weimingz at codeaurora.org
Mon Nov 19 15:13:07 PST 2012


Hi Jakob & Jim,

 

Sorry for keep you busy, but here is the last part of my patches. :D

It enables inline asm of ldrexd/strexd to work correctly.

 

I have to change CodeGen/SelectionDAG/InstrEmitter.cpp a litte bit because:
for the inline asm nodes, I have to put a virtual reg instead of a value
node.

And due to "untyped" type, I can't insert CopyFromReg or CopyToReg as the
framework won't find the GPRPairReg class. 

So I have to directly connect ExtractSubReg, RegSequence with a Register
SDNode.

 

Please help to review it.

 

Thanks,

Weiming

 

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121119/6cb43f01/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-inline-asm-support-for-ldrexd-strexd.patch
Type: application/octet-stream
Size: 14817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121119/6cb43f01/attachment.obj>


More information about the llvm-commits mailing list