commit | 8ef0968dc230f6fae8fcbd6dc4a5cb9ccc780b6b | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Jun 21 05:56:05 2012 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Jun 21 05:56:05 2012 +0000 |
tree | 4dcacc50d2c34a682fe9314c4b7a5c559e97d1b6 | |
parent | b60182e99b97f31756b013022d94fcfb1aa0be73 [diff] |
Emit a single _udivmodsi4 libcall instead of two separate _udivsi3 and _umodsi3 libcalls if they have the same arguments. This optimization was apparently broken if one of the node was replaced in place. rdar://11714607 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158900 91177308-0d34-0410-b5e6-96231b3b80d8