re PR target/5170 (Supicious code in arm.md)

PR target/5170
* arm.md (split pattern for thumb shiftable immediates): Add comment
explaining non-obvious test.

From-SVN: r50814
This commit is contained in:
Richard Earnshaw 2002-03-15 17:06:58 +00:00 committed by Richard Earnshaw
parent 32defa36b0
commit 3a4edb4417
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
PR target/5170
* arm.md (split pattern for thumb shiftable immediates): Add comment
explaining non-obvious test.
2002-03-15 Richard Earnshaw <rearnsha@arm.com>
PR target/5712

View file

@ -4124,6 +4124,7 @@
if ((val & (mask << i)) == val)
break;
/* Shouldn't happen, but we don't want to split if the shift is zero. */
if (i == 0)
FAIL;