[llvm-commits] [llvm] r122236 - in /llvm/trunk: lib/Transforms/Utils/InlineFunction.cpp test/Transforms/Inline/byval.ll
Frits van Bommel
fvbommel at gmail.com
Mon Dec 20 03:35:23 PST 2010
On Mon, Dec 20, 2010 at 12:33 PM, Frits van Bommel <fvbommel at gmail.com> wrote:
> Then you could replace the quoted code with:
> if (GetOrEnforceKnownAlignment(Arg, ByValAlignment) >= ByValAlignment)
> return Arg;
Of course, it'd need an extra TD argument then, so it'd be more like
if (GetOrEnforceKnownAlignment(Arg, ByValAlignment, IFI.TD) >= ByValAlignment)
return Arg;
More information about the llvm-commits
mailing list