+2008-05-20 Alexandre Oliva <aoliva@redhat.com>
+
+ * cselib.c (cselib_record_sets): Use correct mode for IF_THEN_ELSE.
+
2008-05-19 Xinliang David Li <davidxl@google.com>
* tree-ssa-dce.c: Revert patches of 2008-05-17 and 2008-05-18.
{
rtx src = sets[i].src;
if (cond)
- src = gen_rtx_IF_THEN_ELSE (GET_MODE (src), cond, src, dest);
+ src = gen_rtx_IF_THEN_ELSE (GET_MODE (dest), cond, src, dest);
sets[i].src_elt = cselib_lookup (src, GET_MODE (dest), 1);
if (MEM_P (dest))
sets[i].dest_addr_elt = cselib_lookup (XEXP (dest, 0), Pmode, 1);