projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use cast<> for unchecked use
[oota-llvm.git]
/
lib
/
Target
/
R600
/
R600ISelLowering.cpp
diff --git
a/lib/Target/R600/R600ISelLowering.cpp
b/lib/Target/R600/R600ISelLowering.cpp
index 60b42fb9d0b8ad7cb96a7b26333c313e508fc0b9..489565e657952d1dc23d057f4cf285e5ef7d67b7 100644
(file)
--- a/
lib/Target/R600/R600ISelLowering.cpp
+++ b/
lib/Target/R600/R600ISelLowering.cpp
@@
-1829,7
+1829,7
@@
FoldOperand(SDNode *ParentNode, unsigned SrcIdx, SDValue &Src, SDValue &Neg,
}
}
- ConstantSDNode *Cst =
dyn_
cast<ConstantSDNode>(CstOffset);
+ ConstantSDNode *Cst = cast<ConstantSDNode>(CstOffset);
Consts.push_back(Cst->getZExtValue());
if (!TII->fitsConstReadLimitations(Consts)) {
return false;