[all-commits] [llvm/llvm-project] 9872cf: [X86] Add 'sub C1, (xor X, C1) -> add (xor X, ~C2)...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Feb 21 13:20:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9872cfc5b1774a9d0ab777a3c905013619db5c32
https://github.com/llvm/llvm-project/commit/9872cfc5b1774a9d0ab777a3c905013619db5c32
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-02-21 (Sun, 21 Feb 2021)
Changed paths:
M llvm/test/CodeGen/X86/combine-sub.ll
Log Message:
-----------
[X86] Add 'sub C1, (xor X, C1) -> add (xor X, ~C2), C1+1' tests
This is also in sub.ll but that's for a specific i686 pattern - this adds x86_64 and vector tests
More information about the All-commits
mailing list