summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-21 02:01:42 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-21 02:01:42 +0000
commited6718d2282b78602c0f7f112c498daa27e052bd (patch)
treeee949ee74d18c5b90cab38c7717862f6782a1556 /tools/llc
parenteb6e1d3165d4bfee460b6ea69610f57e295635a3 (diff)
downloadllvm-ed6718d2282b78602c0f7f112c498daa27e052bd.tar.gz
llvm-ed6718d2282b78602c0f7f112c498daa27e052bd.tar.bz2
llvm-ed6718d2282b78602c0f7f112c498daa27e052bd.tar.xz
One last pass of DataLayout variable renaming.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 7a56bff50e..435d4e22b7 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -293,8 +293,8 @@ static int compileModule(char **argv, LLVMContext &Context) {
PM.add(TLI);
// Add the target data from the target machine, if it exists, or the module.
- if (const DataLayout *TD = Target.getDataLayout())
- PM.add(new DataLayout(*TD));
+ if (const DataLayout *DL = Target.getDataLayout())
+ PM.add(new DataLayout(*DL));
else
PM.add(new DataLayout(mod));