[all-commits] [llvm/llvm-project] 46a929: [SelectionDAG] Fix isKnownNeverZeroFloat for vecto...
Danila Malyutin via All-commits
all-commits at lists.llvm.org
Tue Jan 16 21:56:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46a929f0a077186034d5692b013730578a2a2d36
https://github.com/llvm/llvm-project/commit/46a929f0a077186034d5692b013730578a2a2d36
Author: Danila Malyutin <danilaml at users.noreply.github.com>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
Log Message:
-----------
[SelectionDAG] Fix isKnownNeverZeroFloat for vectors (#78308)
Return true iff all of vector elements are constant AND not zero
Fixes #77805
Previously, it'd return `true` (as in - the value is known to be never
zero) for any build_vector/splat_vector with non-constant elements.
More information about the All-commits
mailing list