[all-commits] [llvm/llvm-project] 315896: [X86] Fold SUB(X, SBB(Y, Z, W)) -> SUB(ADC(X, Z, W), Y)
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Mar 21 07:21:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 315896d3ac8535833c93b990be6cd3df3844bad8
https://github.com/llvm/llvm-project/commit/315896d3ac8535833c93b990be6cd3df3844bad8
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] Fold SUB(X,SBB(Y,Z,W)) -> SUB(ADC(X,Z,W),Y)
Prefer the commutable ADC over SBB to improve load folding opportunities
More information about the All-commits
mailing list