commit | 6238162cc518a915aba296ddda24311d4974290f | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 02:16:51 2014 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 02:16:51 2014 +0000 |
tree | 3686eb4e14356d87cf2232905b892daf6d9bf7be | |
parent | 45d53fd4c4d04b6feb2bc898f0a10ca98643edef [diff] |
IR: Factor out replaceUsesOfWithOnConstantImpl(), NFC Factor out common code, and take advantage of the new function to add early returns to the callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215964 91177308-0d34-0410-b5e6-96231b3b80d8