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:
3dc34f6
)
Use isa instead of dyn_cast.
author
Dan Gohman
<gohman@apple.com>
Wed, 23 Apr 2008 20:25:16 +0000
(20:25 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 23 Apr 2008 20:25:16 +0000
(20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50181
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 7e7a2f41193dbffba6e054087d301713b1ed0a55..73617c0dfa04355b2bd7f07a79d1f224ea7fbb93 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-3311,7
+3311,7
@@
void SelectionDAGLowering::visitCall(CallInst &I) {
void SelectionDAGLowering::visitGetResult(GetResultInst &I) {
- if (
UndefValue *UV = dyn_cast
<UndefValue>(I.getOperand(0))) {
+ if (
isa
<UndefValue>(I.getOperand(0))) {
SDOperand Undef = DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()));
setValue(&I, Undef);
} else {