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:
35eca58
)
UndefValue's are constants
author
Chris Lattner
<sabre@nondot.org>
Sat, 16 Oct 2004 18:05:10 +0000
(18:05 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 16 Oct 2004 18:05:10 +0000
(18:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17034
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constant.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constant.h
b/include/llvm/Constant.h
index c765503736e99a5089629a0cf5e8fa72cc55401b..789fe7028180548a9b748f0bd8248cefc999c31a 100644
(file)
--- a/
include/llvm/Constant.h
+++ b/
include/llvm/Constant.h
@@
-69,7
+69,8
@@
public:
V->getValueType() == Value::ConstantExprVal ||
V->getValueType() == Value::ConstantAggregateZeroVal ||
V->getValueType() == Value::FunctionVal ||
- V->getValueType() == Value::GlobalVariableVal;
+ V->getValueType() == Value::GlobalVariableVal ||
+ V->getValueType() == Value::UndefValueVal;
}
/// replaceUsesOfWithOnConstant - This method is a special form of