From d8ed2a718460843ca9b0a3e5022fbad5f623648f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 20 Aug 2008 14:50:24 +0000 Subject: Use cast instead of dyn_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55052 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CellSPU/SPUOperands.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Target') diff --git a/lib/Target/CellSPU/SPUOperands.td b/lib/Target/CellSPU/SPUOperands.td index d9baf45..252f2f8 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); }]>; -- cgit v1.1