[patch] Avoid a Symbol -> Name -> Symbol conversion
rafael.espindola at gmail.com
Sun Jun 21 20:47:03 PDT 2015
Currently some code produces an TargetExternalSymbol from a MCSymbol.
That means extracting the symbol name and fetching the symbol again
down the pipeline.
The attached patch adds a DAG.getMCSymbol that lets the MCSymbol pass
unchanged on the DAG.
Doing so removes the need for MO_NOPREFIX and fixes the root cause of
pr23900, allowing r240130 to be committed again.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22983 bytes
Desc: not available
More information about the llvm-commits