[PATCH] D58875: [X86] Merge negated ISD::SUB nodes into X86ISD::SUB equivalent (PR40483) (WIP)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 2 10:14:43 PST 2019


RKSimon created this revision.
RKSimon added reviewers: spatel, craig.topper.
Herald added a project: LLVM.

Follow up to D58597 <https://reviews.llvm.org/D58597>, where I mentioned that the commuted ISD::SUB variant was having problems with lack of combines.

Any advice on how best to fix these regressions? Do we have a mechanism to propagate EFLAGS changes if we commute a X86ISD::SUB?


Repository:
  rL LLVM

https://reviews.llvm.org/D58875

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-sbb.ll
  test/CodeGen/X86/jump_sign.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58875.189052.patch
Type: text/x-patch
Size: 7673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190302/d23696e9/attachment.bin>


More information about the llvm-commits mailing list