BugFix: wrong mode used
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 10 Jan 2008 01:35:26 +0000 (01:35 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 10 Jan 2008 01:35:26 +0000 (01:35 +0000)
[r17273]

ir/be/ia32/ia32_intrinsics.c

index 9c4e2c7..5e3d991 100644 (file)
@@ -315,7 +315,7 @@ static int map_Shr(ir_node *call, void *ctx) {
        /* the block for cnt >= 32 */
        n_block = new_rd_Block(dbg, irg, 1, &in[1]);
        l2      = new_rd_Conv(dbg, irg, n_block, h1, l_mode);
-       h2      = new_r_Const(irg, n_block, l_mode, get_mode_null(h_mode));
+       h2      = new_r_Const(irg, n_block, h_mode, get_mode_null(h_mode));
        in[1]   = new_r_Jmp(irg, n_block);
 
        set_irn_in(block, 2, in);