[all-commits] [llvm/llvm-project] 7a1a47: [InstCombine] Fold `(X & C1) | C2` into `X & (C1 |...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Thu Dec 28 04:47:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a1a476116481fdbee3c4d016fa2786c4ea3316e
https://github.com/llvm/llvm-project/commit/7a1a476116481fdbee3c4d016fa2786c4ea3316e
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2023-12-28 (Thu, 28 Dec 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/or.ll
Log Message:
-----------
[InstCombine] Fold `(X & C1) | C2` into `X & (C1 | C2)` iff `(X & C2) == C2` (#76470)
Alive2: https://alive2.llvm.org/ce/z/VKJYaS
More information about the All-commits
mailing list