Re: [PATCH] Fix -march=bdver1 ICE on int to float conversion (PR target/84844)

2018-03-14 Thread Uros Bizjak
On Wed, Mar 14, 2018 at 9:36 AM, Uros Bizjak wrote: > On Tue, Mar 13, 2018 at 9:30 PM, Jakub Jelinek wrote: >> Hi! >> >> As mentioned in bugzilla, when e.g. sel-sched queries (indirectly) before >> reload >> some attributes like get_attr_type that depend on

Re: [PATCH] Fix -march=bdver1 ICE on int to float conversion (PR target/84844)

2018-03-14 Thread Uros Bizjak
On Tue, Mar 13, 2018 at 9:30 PM, Jakub Jelinek wrote: > Hi! > > As mentioned in bugzilla, when e.g. sel-sched queries (indirectly) before > reload > some attributes like get_attr_type that depend on alternatives, GCC attempts > to constrain the operands in non-strict mode,

[PATCH] Fix -march=bdver1 ICE on int to float conversion (PR target/84844)

2018-03-13 Thread Jakub Jelinek
Hi! As mentioned in bugzilla, when e.g. sel-sched queries (indirectly) before reload some attributes like get_attr_type that depend on alternatives, GCC attempts to constrain the operands in non-strict mode, which implies that if reg_class_for_constraint doesn't return NO_REGS, it is ok,