commit | a53d2268a99d2cf166f4410102cfa85ff945dffe | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Sun Dec 14 09:41:56 2014 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Sun Dec 14 09:41:56 2014 +0000 |
tree | c753737cb6cec5eddabe7f394b9c97c088b61195 | |
parent | fabf5cc5d978c9ad9d9131e7f94714b3aba9dec8 [diff] |
APInt: udivrem should use machine instructions for single-word APInts This mirrors the behavior of APInt::udiv and APInt::urem. Some architectures, like X86, have a single instruction which can compute both division and remainder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224217 91177308-0d34-0410-b5e6-96231b3b80d8