diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-31 04:42:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-31 04:42:22 +0000 |
commit | 3ef9cfef13d7c7208b98b2d9995c3df6dcfe0d99 (patch) | |
tree | 871a22cfc34d8f8a494233a478d34e10f4f7293f /lib/Support/Process.cpp | |
parent | 4a6facbc574c37ec81380d31d8f1372ea10ebf29 (diff) |
Change ConstantArray::get to form a ConstantDataArray when possible,
kicking in the big win of ConstantDataArray. As part of this, change
the implementation of GetConstantStringInfo in ValueTracking to work
with ConstantDataArray (and not ConstantArray) making it dramatically,
amazingly, more efficient in the process and renaming it to
getConstantStringInfo.
This keeps around a GetConstantStringInfo entrypoint that (grossly)
forwards to getConstantStringInfo and constructs the std::string
required, but existing clients should move over to
getConstantStringInfo instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions