Skip to content
Commit 313d09af authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Teach X86DAGToDAGISel::foldLoadStoreIntoMemOperand to handle loads in...

[X86] Teach X86DAGToDAGISel::foldLoadStoreIntoMemOperand to handle loads in operand 1 of commutable operations.

Previously we only handled loads in operand 0, but nothing guarantees the load will be operand 0 for commutable operations.

Differential Revision: https://reviews.llvm.org/D51768

llvm-svn: 341675
parent 040c2b0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment