Teach GatherAllAliases to reason about inline assembly nodes and
associated glued CopyToReg/CopyFromReg nodes.
This fixes PR9517.
Differential D59039
[DAGCombine] Allow GatherAllAliases to pass through inline asm calls and glued nodes. niravd on Mar 6 2019, 12:16 PM. Authored by
Details Teach GatherAllAliases to reason about inline assembly nodes and This fixes PR9517.
Diff Detail
Event TimelineComment Actions This is a refactored and rebased version of D49691 so that it looks reasonable on Phabricator. I've factored out a initial NFC patch (the first snapshot in history) to highlight the actual functional change. Comment Actions Ping. Just a reminder to ease review: The first diff in the history is an extracted NFC refactoring and difference between Diffs 1 and 2 highlight the actual change.
Comment Actions Realized explanatory comment and associate fixup had been lost in patch stack. Folding it back in.
|
"If this had a glued output, return C"?
I don't follow why it matters if the output is glued, given there isn't a glue input. If I'm understanding correctly, if the copy isn't glued, in it doesn't modify memory. If the copy is glued, the only way to reach this case should be through a recursive call of ImproveChain. Or are you just trying to be conservative here?