[PATCH] D49126: [PredicateInfo] Use custom mangling to support ssa_copy with unnamed types.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 03:53:52 PDT 2018
fhahn created this revision.
fhahn added reviewers: efriedma, davide.
This is a workaround and it would be better to fix this generally, but
doing it generally is quite tricky. See https://reviews.llvm.org/D48541 and PR38117.
Doing it in PredicateInfo directly allows us to use the type address to
differentiate different unnamed types, because neither the created
declarations nor the ssa_copy calls should be visible after
PredicateInfo got destroyed.
https://reviews.llvm.org/D49126
Files:
include/llvm/Transforms/Utils/PredicateInfo.h
lib/Transforms/Utils/PredicateInfo.cpp
test/Transforms/NewGVN/pr33305.ll
test/Transforms/Util/PredicateInfo/unnamed-types.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49126.154771.patch
Type: text/x-patch
Size: 10242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/58baa4a3/attachment.bin>
More information about the llvm-commits
mailing list