projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d7794
)
Simplify the expression for MVT::isExtendedValueType.
author
Dan Gohman
<gohman@apple.com>
Tue, 26 Jun 2007 15:20:04 +0000
(15:20 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 26 Jun 2007 15:20:04 +0000
(15:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37733
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/ValueTypes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/ValueTypes.h
b/include/llvm/CodeGen/ValueTypes.h
index 743a1f64dd76a06a2cc7236bae7b0b3ded474f61..8582323a521dc7ec39a64d267b61325e6819d454 100644
(file)
--- a/
include/llvm/CodeGen/ValueTypes.h
+++ b/
include/llvm/CodeGen/ValueTypes.h
@@
-92,7
+92,7
@@
namespace MVT { // MVT = Machine Value Types
/// MVT::isExtendedValueType - Test if the given ValueType is extended
/// (as opposed to being simple).
static inline bool isExtendedValueType(ValueType VT) {
- return VT
& ~
SimpleTypeMask;
+ return VT
>
SimpleTypeMask;
}
/// MVT::isInteger - Return true if this is an integer, or a vector integer