[all-commits] [llvm/llvm-project] 19b0e1: [ConstantFolding] Fold sqrt poison -> poison (#141...
Luke Lau via All-commits
all-commits at lists.llvm.org
Wed Jun 11 04:27:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19b0e1227ca6653405e4a34627d04a14f2287f26
https://github.com/llvm/llvm-project/commit/19b0e1227ca6653405e4a34627d04a14f2287f26
Author: Luke Lau <luke at igalia.com>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstSimplify/fp-undef-poison.ll
Log Message:
-----------
[ConstantFolding] Fold sqrt poison -> poison (#141821)
I noticed this when a sqrt produced by VectorCombine with a poison
operand wasn't getting folded away to poison.
Most intrinsics in general could probably be folded to poison if one of
their arguments are poison too. Are there any exceptions to this we need
to be aware of?
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