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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 20:13:56 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, chandlerc.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D51768

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  test/CodeGen/X86/addcarry.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51768.164348.patch
Type: text/x-patch
Size: 3620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/f470fbbe/attachment.bin>


More information about the llvm-commits mailing list