Commit 3c5b1262 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

GlobalDCE: Delete available_externally initializers if it allows removing the...

GlobalDCE: Delete available_externally initializers if it allows removing the value the initializer is referring to.

This is useful for functions that are not actually available externally but
referenced by a vtable of some kind. Clang emits functions like this for the MS
ABI.

PR20182.

llvm-svn: 212337
parent 778c029e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment