[all-commits] [llvm/llvm-project] ed51e2: [X86] combineAddOrSubToADCOrSBB - commute + neg su...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Mar 21 06:55:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed51e26ab4f077c4ca5cb14fe94b257855b0293f
https://github.com/llvm/llvm-project/commit/ed51e26ab4f077c4ca5cb14fe94b257855b0293f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-03-21 (Mon, 21 Mar 2022)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/add-sub-bool.ll
Log Message:
-----------
[X86] combineAddOrSubToADCOrSBB - commute + neg subtraction patterns
Handle SUB(AND(SRL(Y,Z),1),X) -> NEG(SBB(X,0,BT(Y,Z))) folds
I'll address the X86 lost folded-load regressions in a follow-up patch
More information about the All-commits
mailing list