[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 31 19:51:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926

--- Comment #9 from Peter Bergner <bergner at gcc dot gnu.org> ---
So the problem is that the splitter for vsx_div_v2di unconditionally calls
gen_divdi3() , which assumes we have a 64-bit integer HW div insn.  If you do a
scalar 64-bit div, we notice we don't have that HW insn and expand calls the
__divdi3 library function.  Maybe in gen_divdi3() we could detect whether we
need to do that same?  I'll see if I can come up with something.


More information about the Gcc-bugs mailing list