[PATCH] NoAA does not initialize TargetLibraryInfo

Tobias Güntner guentner at rbg.informatik.tu-darmstadt.de
Mon Apr 28 00:32:18 PDT 2014


Am 10.04.2014 19:13, schrieb Tobias Güntner:
> Hi!
>
> I encountered a bug while implementing an AliasAnalysis. Basically, I
> passed the previous AA in the chain (which happened to be NoAA) to a
> helper function which returned a wrong result because
> getTargetLibraryInfo() was NULL.
>
> With this patch, NoAA also initializes its TLI and all AAs in the chain
> use the same DataLayout and TargetLibraryInfo. (Patch is against 3.4,
> but should be straightforward to port.)
>
> Regards,
> Tobias

ping





More information about the llvm-commits mailing list