[all-commits] [llvm/llvm-project] 057db2: [X86] combineAndnp - constant fold ANDNP(C, X) -> A...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Jun 21 04:31:23 PDT 2022
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-06-21 (Tue, 21 Jun 2022)
[X86] combineAndnp - constant fold ANDNP(C,X) -> AND(~C,X)
If the LHS op has a single use then using the more general AND op is likely to allow commutation, load folding, generic folds etc.
More information about the All-commits