| commit | 8c2ad812384d840f6b2f20742bb5741c3a4f59f8 | [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 | 8d0c3dba3e7c8993b98d32c038cfa08eba8a09e1 | |
| parent | 422080f547c0841d18a44d6395dc28e10c8ab467 [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 llvm-svn: 158900