[PATCH] Fix inline assembly that switches between ARM and Thumb modes
Greg Fitzgerald
garious at gmail.com
Wed Jan 15 15:43:16 PST 2014
New in this patch:
* adds .thumb/.arm directives after inline asm (because we don't parse it, and user might have switched modes and not switched back)
* adds tests for inline asm that enters ARM or thumb mode and not going back
* rebased on the latest code
Hi rengolin, grosbach, aemerson,
http://llvm-reviews.chandlerc.com/D2255
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2255?vs=6130&id=6479#toc
Files:
include/llvm/MC/MCStreamer.h
include/llvm/MC/MCTargetAsmParser.h
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-arm.ll
test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-thumb.ll
test/CodeGen/ARM/inlineasm-switch-mode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2255.8.patch
Type: text/x-patch
Size: 9168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140115/c4d57fa2/attachment.bin>
More information about the llvm-commits
mailing list