* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.

From-SVN: r121707
This commit is contained in:
Ian Lance Taylor 2007-02-08 00:59:14 +00:00 committed by Ian Lance Taylor
parent e42ac3dede
commit 1f64a0811b
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-02-07 Ian Lance Taylor <iant@google.com>
* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
2007-02-07 Roger Sayle <roger@eyesopen.com>
* config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,

View File

@ -136,6 +136,11 @@ simple_move (rtx insn)
== BLKmode))
return NULL_RTX;
/* Reject PARTIAL_INT modes. They are used for processor specific
purposes and it's probably best not to tamper with them. */
if (GET_MODE_CLASS (mode) == MODE_PARTIAL_INT)
return NULL_RTX;
return set;
}