[PATCH] D48915: [Sparc] Use the names .rem and .urem instead of __modsi3 and __umodsi3
Daniel Cederman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 00:02:18 PDT 2018
dcederman added a comment.
My aim with the patch is to be able to link Sparc V7 code, ie code with no mul/div instructions, with libgcc and newlib. Since gcc references the .urem symbol instead of __umodsi3, I thought that making the same change for LLVM would be the best fix.
Grepping in the usr/lib folder of NetBSD (sparc32) I see many references to .urem, but none to __umodsi3, so I do not think this change will cause any problems for NetBSD users.
Repository:
rL LLVM
https://reviews.llvm.org/D48915
More information about the llvm-commits
mailing list