PR20473: Don't "deduplicate" string literals with the same value but different
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jul 2014 21:20:12 +0000 (21:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jul 2014 21:20:12 +0000 (21:20 +0000)
commit00db2f13f8be08eea489a26190e8ac9ffc2d6f4e
tree39eaa45328332bd96f3a2abbc3f8a8d490f9d9c2
parent9d2250ad43e364114bda26807fe3074a22a07ed7
PR20473: Don't "deduplicate" string literals with the same value but different
lengths! In passing, simplify string literal deduplication by relying on LLVM
to deduplicate the underlying constant values.

llvm-svn: 214222
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/test/CodeGen/init.c