diff options
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 4 |
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)); |