From: Dan Gohman Date: Wed, 20 Aug 2008 14:50:24 +0000 (+0000) Subject: Use cast instead of dyn_cast. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8ed2a718460843ca9b0a3e5022fbad5f623648f;p=oota-llvm.git Use cast instead of dyn_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55052 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CellSPU/SPUOperands.td b/lib/Target/CellSPU/SPUOperands.td index d9baf454a7c..252f2f84587 100644 --- a/lib/Target/CellSPU/SPUOperands.td +++ b/lib/Target/CellSPU/SPUOperands.td @@ -31,7 +31,7 @@ def LO16_vec : SDNodeXForm node"); - ConstantSDNode *CN = dyn_cast(OpVal); + ConstantSDNode *CN = cast(OpVal); return getI32Imm((unsigned)CN->getValue() & 0xffff); }]>; @@ -56,7 +56,7 @@ def HI16_vec : SDNodeXForm node"); - ConstantSDNode *CN = dyn_cast(OpVal); + ConstantSDNode *CN = cast(OpVal); return getI32Imm((unsigned)CN->getValue() >> 16); }]>;