[all-commits] [llvm/llvm-project] 0eddee: [ValueTracking] Improve isKnownNonNaN() to recogn...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Feb 19 09:37:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0eddeeab29a1cce8f9169b270c9fdd484534d91b
https://github.com/llvm/llvm-project/commit/0eddeeab29a1cce8f9169b270c9fdd484534d91b
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2020-02-19 (Wed, 19 Feb 2020)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
A llvm/test/CodeGen/SystemZ/vec-max-min-zerosplat.ll
Log Message:
-----------
[ValueTracking] Improve isKnownNonNaN() to recognize zero splats.
isKnownNonNaN() could not recognize a zero splat because that is a
ConstantAggregateZero which is-a ConstantData but not a ConstantDataVector.
Patch makes a ConstantAggregateZero return true.
Review: Thomas Lively
Differential Revision: https://reviews.llvm.org/D74263
More information about the All-commits
mailing list