aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-27 06:58:47 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-27 06:58:47 +0000
commita8df166fbef047c90adba3c673162a1b1f6681c4 (patch)
tree54327ee664b4d907a209a4ebdd2049d89bc67f8e /include/llvm/CodeGen/SelectionDAGNodes.h
parent70a248d284af550ae46c8dfc18ea2bbc15d31eb0 (diff)
Change isBuildVectorAllOnesInteger to isBuildVectorAllOnes. Also check for
floating point cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 4863940de2..ceb4ff752a 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -455,9 +455,9 @@ namespace ISD {
/// Node predicates
- /// isBuildVectorAllOnesInteger - Return true if the specified node is a
+ /// isBuildVectorAllOnes - Return true if the specified node is a
/// BUILD_VECTOR where all of the elements are ~0 or undef.
- bool isBuildVectorAllOnesInteger(const SDNode *N);
+ bool isBuildVectorAllOnes(const SDNode *N);
/// isBuildVectorAllZeros - Return true if the specified node is a
/// BUILD_VECTOR where all of the elements are 0 or undef.