[PATCH][stage1] Refactor gimple_fold_builtin_memory_op function.

Jeff Law law@redhat.com
Mon Apr 29 20:29:00 GMT 2019


On 3/12/19 2:45 AM, Martin Liška wrote:
> Hi.
> 
> The patch is about simplification and usage of enum types. ENDP integer
> does not make much sense in this usage.
> 
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed after stage1 opens?
> Thanks,
> Martin
> 
> 2019-03-11  Martin Liska  <mliska@suse.cz>
> 
> 	* gimple-fold.c (gimple_fold_builtin_memory_op): Change endp
> 	into built_in_function enum. Remove code for endp == 2 and
> 	use BUILT_IN_* constants.
> 	(gimple_fold_builtin): Call the function with fcode.
OK
jeff



More information about the Gcc-patches mailing list