OSDN Git Service

Fix divmod libcall lowering. Convert to {S|U}DIVREM first and then expand the node...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 16 Apr 2011 03:08:26 +0000 (03:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 16 Apr 2011 03:08:26 +0000 (03:08 +0000)
commit65279cb9bd985721ac6ad090fed02298396ba06d
tree90635f8faaf5ca81e97efea429fba55aa23a4e4c
parent86837e8745bdfc49bd1c5d762170631704c8cf93
Fix divmod libcall lowering. Convert to {S|U}DIVREM first and then expand the node to a libcall. rdar://9280991

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129633 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/ARM/divmod.ll