- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty strin...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 30 Jun 2008 07:31:25 +0000 (07:31 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 30 Jun 2008 07:31:25 +0000 (07:31 +0000)
commit0ff39b3feb10477c224138156941234f5fa46f58
tree20267b5f7f46defb6c887c64b9b6e6af5ec59c85
parent2ca698df93421327a459987b33b045756cb47d4d
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag.
- Correctly handle memcpy from constant string which is zero-initialized.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52891 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
include/llvm/Constant.h
include/llvm/IntrinsicInst.h
lib/Analysis/ValueTracking.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Debugger/ProgramInfo.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/VMCore/Constants.cpp
lib/VMCore/IntrinsicInst.cpp