Consider the endianness of the target when printing register names. This is in line with the documentation at http://llvm.org/docs/LangRef.html#asm-template-argument-modifiers
Details
Diff Detail
Event Timeline
Hi Jackson, can you reupload the patch with more context line? Something like git diff -U99999 (arc diff does it automatically). Thanks.
Thanks for the review Thomas. I have update the diff so it has context, and have fixed the formatting issue. I think the if statement is probably better as is, although I'm also not entirely sure.
Thanks for the reviews. I have rebased this patch, added a comment to explain what is going on, and removed the redundant curly braces.
test/CodeGen/ARM/print-registers-be.ll | ||
---|---|---|
1 | Could you add a RUN line for little-endian as well? |
Indentation looks off here.