[all-commits] [llvm/llvm-project] 67c9a6: [InstCombine] Drop poison-generating annotations w...
Chennes via All-commits
all-commits at lists.llvm.org
Thu Sep 17 03:11:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67c9a6cbf0b5cd78d2223342ec9f07c903b559e1
https://github.com/llvm/llvm-project/commit/67c9a6cbf0b5cd78d2223342ec9f07c903b559e1
Author: Chennes <xuchen359 at gmail.com>
Date: 2026-09-17 (Thu, 17 Sep 2026)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/fsh.ll
Log Message:
-----------
[InstCombine] Drop poison-generating annotations when rewriting rotate operands (#224228)
`SimplifyDemandedUseBits()` rewrites an operand of a rotate to the
constant formed from its known bits, which preserves only the demanded
bits of the result. A `range` attribute or `!range` metadata on the call
may no longer hold afterwards, turning a defined result into poison:
https://alive2.llvm.org/ce/z/Lk8Eop
#173864 extended annotation dropping in the funnel shift path directly
above to cover metadata; the rotate path never had it.
Drop the annotations in both rotate operand rewrite paths.
Fixes #222092.
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