[PATCH] D48541: [Function] Use deterministic IDs when mangling unnamed types.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 11:15:05 PDT 2018


efriedma added a comment.

Maybe we could set names for the types in question?  It's kind of awkward, but it should work, I think...

Alternatively, you could avoid generating ssa_copy calls which require mangling non-literal structs; assuming you don't need to ssa_copy first-class aggregates, struct types only show up in pointers, and you can always bitcast pointers to i8*.


https://reviews.llvm.org/D48541





More information about the llvm-commits mailing list