[PATCH] D21926: [ARM] Honour ABI for rem under -O0 for EABI, GNUEABI, Android and Musl
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 4 09:15:19 PDT 2016
rovka updated the summary for this revision.
rovka added a subscriber: mcrosier.
rovka updated this revision to Diff 62689.
rovka added a comment.
- Collapsed common checks between O0 and default
- Added Windows checks (would be great if someone could double-check these, the Microsoft docs that I've found are pretty vague).
- Fixed the patch to use the right register for the remainder. For this I had to basically bail out of FastISel, because it doesn't handle non-double multi-reg returns. I hope this hammer isn't too big for this problem, but getting FastISel to do the right thing here seemed like quite some work.
http://reviews.llvm.org/D21926
Files:
include/llvm/Target/TargetLowering.h
lib/Target/ARM/ARMFastISel.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
test/CodeGen/ARM/divmod-eabi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21926.62689.patch
Type: text/x-patch
Size: 11960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160704/64a71d69/attachment.bin>
More information about the llvm-commits
mailing list