partially revert 2e9fdf8841de40f008697ba8bf711fa3f3f2c0e8
[libfirm] / ir / lower / lower_intrinsics.c
index 9e777bd..e8b677b 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   lowering of Calls of intrinsic functions
  * @author  Michael Beck
- * @version $Id$
  */
 #include "config.h"
 
@@ -275,7 +274,7 @@ int i_mapper_bswap(ir_node *call, void *ctx)
 
        irn = new_rd_Builtin(dbg, block, get_irg_no_mem(current_ir_graph), 1, &op, ir_bk_bswap, tp);
        set_irn_pinned(irn, op_pin_state_floats);
-       irn = new_r_Proj(irn, get_irn_mode(op), pn_Builtin_1_result);
+       irn = new_r_Proj(irn, get_irn_mode(op), pn_Builtin_max+1);
        replace_call(irn, call, mem, NULL, NULL);
        return 1;
 }  /* i_mapper_bswap */