[all-commits] [llvm/llvm-project] a3cffc: [InstCombine] Fold (ctpop(X) == 1) | (X == 0) into...
Hirochika Matsumoto via All-commits
all-commits at lists.llvm.org
Tue Mar 29 08:32:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a3cffc11509bc178616069d26b1a8573199fde74
https://github.com/llvm/llvm-project/commit/a3cffc11509bc178616069d26b1a8573199fde74
Author: Hirochika Matsumoto <git at hkmatsumoto.com>
Date: 2022-03-29 (Tue, 29 Mar 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/ispow2.ll
Log Message:
-----------
[InstCombine] Fold (ctpop(X) == 1) | (X == 0) into ctpop(X) < 2
https://alive2.llvm.org/ce/z/94yRMN
Fixes #54177
Differential Revision: https://reviews.llvm.org/D122077
More information about the All-commits
mailing list