Commit bb60ac63 by Torbjorn Granlund

(do_store_flag): Don't check if target is 0 in code

emitting store flag as compare-branch.

From-SVN: r12993
parent ab6c58f1
...@@ -11081,7 +11081,7 @@ do_store_flag (exp, target, mode, only_cheap) ...@@ -11081,7 +11081,7 @@ do_store_flag (exp, target, mode, only_cheap)
} }
/* If this failed, we have to do this with set/compare/jump/set code. */ /* If this failed, we have to do this with set/compare/jump/set code. */
if (target == 0 || GET_CODE (target) != REG if (GET_CODE (target) != REG
|| reg_mentioned_p (target, op0) || reg_mentioned_p (target, op1)) || reg_mentioned_p (target, op0) || reg_mentioned_p (target, op1))
target = gen_reg_rtx (GET_MODE (target)); target = gen_reg_rtx (GET_MODE (target));
......
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