OSDN Git Service

DAG: Add helper for testing constant values
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 Dec 2016 04:39:45 +0000 (04:39 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 Dec 2016 04:39:45 +0000 (04:39 +0000)
commit27bb0f08ca7e2b56d6be938b1f8f00629e0b68fc
tree2873ed752f13b2c81e3cd25df519aeee37c90d30
parent1f1e46113e5db157fe1734d06aee4daca7e5f509
DAG: Add helper for testing constant values

There are helpers for testing for constant or constant build_vector,
and for splat ConstantFP vectors, but not for a constantfp or
non-splat ConstantFP vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290317 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp