[llvm-commits] [llvm] r168891 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyLibCalls.cpp lib/Transforms/Utils/SimplifyLibCalls.cpp test/Transforms/InstCombine/fprintf-1.ll test/Transforms/InstCombine/osx-names.ll test/Transforms/SimplifyLibCalls/FPrintF.ll test/Transforms/SimplifyLibCalls/iprintf.ll test/Transforms/SimplifyLibCalls/osx-names.ll

Meador Inge meadori at codesourcery.com
Thu Nov 29 08:56:21 PST 2012


On Nov 29, 2012, at 10:47 AM, Dmitri Gribenko wrote:

> On Thu, Nov 29, 2012 at 5:45 PM, Meador Inge <meadori at codesourcery.com> wrote:
>> +      // These optimizations require DataLayout.
>> +      if (!TD) return 0;
> 
> Did you mean 'TargetData'?

I just moved the code from lib/Transforms/Scalar/SimplifyLibCalls.cpp.  When the
s/TargetData/DataLayout/g change happened a few months back it looks like the
comments where updated, but the variables remained "TD".  I will do cleanup
pass to fixup comments and variable names once I get everything migrated from
the old simplify-libcalls pass.

--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software





More information about the llvm-commits mailing list