Re: [PATCH] rs6000: Fix ICE for invalid constants in built-in functions

2025-01-16 Thread Peter Bergner
On 1/13/25 3:59 PM, Peter Bergner wrote: > rs6000: Fix ICE for invalid constants in built-in functions > > For invalid constant operand values used in built-in functions, return > const0_rtx to signify an error occurred during expansion. > > Bootstrapped and retested on powerlc64le-linux with no

[PATCH] rs6000: Fix ICE for invalid constants in built-in functions

2025-01-13 Thread Peter Bergner
After my other patch, I decided to write a test case with an illegal constant operand value to a built-in to see what the results would be. Without my other patch, we fail to catch the illegal use and emit an invalid rtl insn and hit an unrecognizable insn ICE. With my previous patch, we correctly