commit | 3b666f3b591b2e251e0edde332b98bfd9ee25cfd | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 02:21:00 2014 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Aug 19 02:21:00 2014 +0000 |
tree | 36793dda6e3992eada5a0f18aedee7db544d58f2 | |
parent | 6238162cc518a915aba296ddda24311d4974290f [diff] |
IR: Fix ConstantArray::replaceUsesOfWithOnConstant() Previously, `ConstantArray::replaceUsesOfWithOnConstant()` neglected to check whether it becomes a `ConstantDataArray`. Call `ConstantArray::getImpl()` to check for that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215965 91177308-0d34-0410-b5e6-96231b3b80d8