[PATCH][AArch64] Add llvm-mc test for asm code generated from all LLVM IR tests

Jiangning Liu liujiangning1 at gmail.com
Thu Nov 28 01:19:44 PST 2013


Llvm-mc test needs be added to test against asm code generated from all
LLVM IR tests. This is because sometimes the patterns we defined in
back-end may be either incorrect or with loose constraint checked, and
finally some incorrect assembly code may be generated. Now that assuming
MCLayer is always correct due to MCHammer can pass all AArch64 NEON
instructions, adding llvm-mc test to check these asm codes generated from
LLVM IR can help to guarantee the correctness of test cases, and indirectly
expose the bugs in back-end instruction definitions and pattern match.

With this patch, some shift instruction failures can be captured, and
another patch will be posted by Hao to get them fixed. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131128/4ed093cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enhance_ll_test.patch
Type: text/x-patch
Size: 33898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131128/4ed093cc/attachment.bin>

More information about the llvm-commits mailing list