Previously we only handled loads in operand 0, but nothing guarantees the load will be operand 0 for commutable operations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D51768
[X86] Teach X86DAGToDAGISel::foldLoadStoreIntoMemOperand to handle loads in operand 1 of commutable operations. ClosedPublic Authored by craig.topper on Sep 6 2018, 8:11 PM.
Details Summary Previously we only handled loads in operand 0, but nothing guarantees the load will be operand 0 for commutable operations.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 7 2018, 2:08 AM Closed by commit rL341675: [X86] Teach X86DAGToDAGISel::foldLoadStoreIntoMemOperand to handle loads in… (authored by ctopper). · Explain WhySep 7 2018, 9:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 164445 llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/trunk/test/CodeGen/X86/addcarry.ll
|