[all-commits] [llvm/llvm-project] 3589ca: [ValueTracking] Handle `icmp pred (trunc X), C` in...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Wed Mar 6 09:05:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3589cacfa8da89b9b5051e4dba659caa575e6b3f
https://github.com/llvm/llvm-project/commit/3589cacfa8da89b9b5051e4dba659caa575e6b3f
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/known-bits.ll
Log Message:
-----------
[ValueTracking] Handle `icmp pred (trunc X), C` in `computeKnownBitsFromCmp` (#82803)
This patch handles the pattern `icmp pred (trunc X), C` in
`computeKnownBitsFromCmp` to infer low bits of `X` from dominating
conditions.
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