From 3ad7e96f8acf3ad55f1b8ca51052e5f84bfb623d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 20 Aug 2008 15:54:46 +0000 Subject: [PATCH] Clean up a dead return missed in r55055. llvm-svn: 55057 --- llvm/lib/Target/TargetSelectionDAG.td | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/TargetSelectionDAG.td b/llvm/lib/Target/TargetSelectionDAG.td index 3322ba20ccd7..d04e56a4e9b4 100644 --- a/llvm/lib/Target/TargetSelectionDAG.td +++ b/llvm/lib/Target/TargetSelectionDAG.td @@ -614,9 +614,8 @@ def truncstorei16 : PatFrag<(ops node:$val, node:$ptr), def truncstorei32 : PatFrag<(ops node:$val, node:$ptr), (st node:$val, node:$ptr), [{ StoreSDNode *ST = cast(N); - return ST->isTruncatingStore() && ST->getMemoryVT() == MVT::i32 && - ST->getAddressingMode() == ISD::UNINDEXED; - return false; + return ST->isTruncatingStore() && ST->getMemoryVT() == MVT::i32 && + ST->getAddressingMode() == ISD::UNINDEXED; }]>; def truncstoref32 : PatFrag<(ops node:$val, node:$ptr), (st node:$val, node:$ptr), [{