commit | 18c7f80b3e83ab584bd8572695a3cde8bafd9d3c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 05 02:29:43 2012 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 05 02:29:43 2012 +0000 |
tree | 93b57cd1b5fb8fa1e48c06e4bef7571f02603243 | |
parent | eea723fe02edba0a1215fa235ba425ae93202dc9 [diff] |
reapply the patches reverted in r149470 that reenable ConstantDataArray, but with a critical fix to the SelectionDAG code that optimizes copies from strings into immediate stores: the previous code was stopping reading string data at the first nul. Address this by adding a new argument to llvm::getConstantStringInfo, preserving the behavior before the patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149800 91177308-0d34-0410-b5e6-96231b3b80d8