[all-commits] [llvm/llvm-project] 32f911: [InstCombine] Fold `ceil(X / (2 ^ C)) == 0` -> `X ...
Iris Shi via All-commits
all-commits at lists.llvm.org
Sun Jun 22 19:51:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32f911f3e83b0a3d2242502940c487998672ffd4
https://github.com/llvm/llvm-project/commit/32f911f3e83b0a3d2242502940c487998672ffd4
Author: Iris Shi <0.0 at owo.li>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
A llvm/test/Transforms/InstCombine/ceil-shift.ll
Log Message:
-----------
[InstCombine] Fold `ceil(X / (2 ^ C)) == 0` -> `X == 0` (#143683)
Co-authored-by: Yingwei Zheng <dtcxzyw2333 at gmail.com>
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