[llvm] [X86] Remove redundant and-not pattern code in X86 (PR #157687)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 07:05:23 PDT 2025


AZero13 wrote:

> I still don't understand why you're messing with hasAndNot / hasAndNotCompare

They will not trigger the folds otherwise. The folds that were hardcoded in X86 because they were not happening in general.

https://github.com/llvm/llvm-project/pull/157687


More information about the llvm-commits mailing list