https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92090
--- Comment #12 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #11)
> I've been working on allowing in the rs6000 patterns.
This fixes the ICE for me. I have not regtested the patch though:
Index: gcc/config/rs6000/predicates.md
===================================================================
--- gcc/config/rs6000/predicates.md (revision 277861)
+++ gcc/config/rs6000/predicates.md (working copy)
@@ -1047,7 +1047,8 @@ (define_predicate "input_operand"
return 1;
/* Allow any integer constant. */
- if (GET_MODE_CLASS (mode) == MODE_INT
+ if ((GET_MODE_CLASS (mode) == MODE_INT
+ || GET_MODE_CLASS (mode) == MODE_PARTIAL_INT)
&& CONST_SCALAR_INT_P (op))
return 1;