[all-commits] [llvm/llvm-project] f1e105: [ValueTracking] Compute known bits from recursive ...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Sat Nov 2 00:46:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1e1055c84bb7177f3e7d690442f3760326a0ace
https://github.com/llvm/llvm-project/commit/f1e1055c84bb7177f3e7d690442f3760326a0ace
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-11-02 (Sat, 02 Nov 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/known-phi-recurse.ll
Log Message:
-----------
[ValueTracking] Compute known bits from recursive select/phi (#113707)
This patch is inspired by
https://github.com/llvm/llvm-project/pull/113686. I found that it
removes a lot of unnecessary "and X, 1" in some applications that
represent boolean values with int.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list