X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Farch%2Farchop.c;h=2ccb042533f001b089a0ab3e2fe8a6e4a870d4b3;hb=ea804e24181b555339e9c107eb75ea960f753297;hp=f6ffe603efe2e89c85da6b1a3f4dc4b0401ef59f;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/arch/archop.c b/ir/arch/archop.c index f6ffe603e..2ccb04253 100644 --- a/ir/arch/archop.c +++ b/ir/arch/archop.c @@ -1,12 +1,26 @@ /* - * Project: libFIRM - * File name: ir/arch/archop.c - * Purpose: Architecture dependand IR operations - * Author: - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 1998-2005 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief architecture dependant IR operations + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -290,12 +304,13 @@ static int verify_node_MinMax(ir_node *n, ir_graph *irg) { ir_mode *mymode = get_irn_mode(n); ir_mode *op1mode = get_irn_mode(get_binop_left(n)); ir_mode *op2mode = get_irn_mode(get_binop_right(n)); + (void) irg; ASSERT_AND_RET( /* MinMax: BB x numP x numP --> numP */ op1mode == mymode && op2mode == mymode && - mode_is_numP(mymode), + mode_is_data(mymode), "Min or Max node", 0 ); return 1;