[PATCH] NoAA does not initialize TargetLibraryInfo
Tobias Güntner
guentner at rbg.informatik.tu-darmstadt.de
Thu Apr 10 10:13:35 PDT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initialize-TargetLibraryInfo.patch
Type: text/x-patch
Size: 2035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140410/56e8870a/attachment.bin>
More information about the llvm-commits
mailing list