HomePhabricator

[SelectionDAG] [ARM CodeGen] Fix chain information of LowerMUL

Description

[SelectionDAG] [ARM CodeGen] Fix chain information of LowerMUL

In LowerMUL, the chain information is not preserved for the new
created Load SDNode.

For example, if a Store alias with one of the operand of Mul.
The Load for that operand need to be scheduled before the Store.
The dependence is recorded in the chain of Store, in TokenFactor.
However, when lowering MUL, the SDNodes for the new Loads for
VMULL are not updated in the TokenFactor for the Store. Thus the
chain is not preserved for the lowered VMULL.

Details

Committed
huihuizApr 6 2017, 1:22 PM
Parents
rL299700: [clang-tidy] Reuse FileID in getLocation
Branches
Unknown
Tags
Unknown