diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-08 06:15:20 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-08 06:15:20 +0000 |
commit | 6c3a60dfd60c4d37e39e0d9427025991ccd4ea7c (patch) | |
tree | c29bbb61d16cf94decf4ff4f7348415e4bd910bf /gcc/combine.c | |
parent | c099f5df0aee1ee411c47a26f3bbd1fad340fbec (diff) | |
download | gcc-6c3a60dfd60c4d37e39e0d9427025991ccd4ea7c.tar.gz |
* combine.c (combine_simplify_rtx): Update comment and
remove erroneous test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 62ab3aa7c6e..81231804823 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -3856,13 +3856,12 @@ combine_simplify_rtx (x, op0_mode, last, in_dest) XEXP (XEXP (x, 0), 1)))) return reversed; - /* (ashiftrt foo C) where C is the number of bits in FOO minus 1 - is (lt foo (const_int 0)) if STORE_FLAG_VALUE is -1, so we can + /* (not (ashiftrt foo C)) where C is the number of bits in FOO minus 1 + is (ge foo (const_int 0)) if STORE_FLAG_VALUE is -1, so we can perform the above simplification. */ if (STORE_FLAG_VALUE == -1 && GET_CODE (XEXP (x, 0)) == ASHIFTRT - && XEXP (x, 1) == const1_rtx && GET_CODE (XEXP (XEXP (x, 0), 1)) == CONST_INT && INTVAL (XEXP (XEXP (x, 0), 1)) == GET_MODE_BITSIZE (mode) - 1) return gen_rtx_GE (mode, XEXP (XEXP (x, 0), 0), const0_rtx); |