[all-commits] [llvm/llvm-project] 83d178: [InstCombine] Set zero_is_poison for ctlz/cttz if ...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Wed Mar 13 06:53:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 83d178843f4322159b6469f430a8a241b8672d6d
https://github.com/llvm/llvm-project/commit/83d178843f4322159b6469f430a8a241b8672d6d
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Set zero_is_poison for ctlz/cttz if they are only used as shift amounts (#85035)
Alive2: https://alive2.llvm.org/ce/z/r-67t9
It would improve the codegen if the target doesn't provide a defined
value for ctlz/cttz with zero.
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