Thread DataLayout through the callers and into mem2reg. This will be
authorChandler Carruth <chandlerc@gmail.com>
Sun, 28 Jul 2013 06:43:11 +0000 (06:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 28 Jul 2013 06:43:11 +0000 (06:43 +0000)
commit6c3a95dab561ef9747876d14014e965f8688f55b
tree7302a149bc6322f903f0c1650ba4f852f97b9789
parentf5b9110ce1e0d5bc6f96b1e74d110f0cc576324a
Thread DataLayout through the callers and into mem2reg. This will be
useful in a subsequent patch, but causes an unfortunate amount of noise,
so I pulled it out into a separate patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187322 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/PromoteMemToReg.h
lib/Transforms/Scalar/SROA.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Utils/Mem2Reg.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp