Commit 7553271e by Jeff Law Committed by Jeff Law

combine.c (find_split_point): Verify that the shift count is a constant when...

       * combine.c (find_split_point): Verify that the shift count is a
       constant when choosing (plus (ashift ...)) as a split point.

From-SVN: r223736
parent 7499cd25
2015-05-26 Jeff Law <law@redhat.com> 2015-05-26 Jeff Law <law@redhat.com>
* combine.c (find_split_point): Verify that the shift count is a
constant when choosing (plus (ashift ...)) as a split point.
* tree-ssa-threadupdate.c: Replace 8 space sequences with tabs. * tree-ssa-threadupdate.c: Replace 8 space sequences with tabs.
No functional changes. No functional changes.
......
...@@ -5157,7 +5157,8 @@ find_split_point (rtx *loc, rtx_insn *insn, bool set_src) ...@@ -5157,7 +5157,8 @@ find_split_point (rtx *loc, rtx_insn *insn, bool set_src)
worthless to try this split. */ worthless to try this split. */
if (!set_src if (!set_src
&& (GET_CODE (XEXP (x, 0)) == MULT && (GET_CODE (XEXP (x, 0)) == MULT
|| GET_CODE (XEXP (x, 0)) == ASHIFT)) || (GET_CODE (XEXP (x, 0)) == ASHIFT
&& GET_CODE (XEXP (XEXP (x, 0), 1)) == CONST_INT)))
return loc; return loc;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment