HomePhabricator

[PredicateInfo] Use custom mangling to support ssa_copy with unnamed types.

Authored by fhahn on Jul 24 2018, 7:49 AM.

Description

[PredicateInfo] Use custom mangling to support ssa_copy with unnamed types.

This is a workaround and it would be better to fix this generally, but
doing it generally is quite tricky. See 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.

Reviewers: efriedma, davide

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D49126

llvm-svn: 337828

Details

Committed
fhahnJul 24 2018, 7:49 AM
Reviewer
efriedma
Differential Revision
D49126: [PredicateInfo] Use custom mangling to support ssa_copy with unnamed types.
Parents
rG28ded4ee196e: [mips] Fix local dynamic TLS with Sym64
Branches
Unknown
Tags
Unknown