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)
commitd5b806a27ffb83860a54fe0161ad398388b7278e
treea84bf530455ed9600dc38007bd0b05110c25ee92
parent35f72ac81879736f32f5690eb3655209c1ef79e6
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.

llvm-svn: 187322
llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
llvm/lib/Transforms/Utils/Mem2Reg.cpp
llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp