RE: Remove redundant zero extend

2020-03-11 Thread Nidal Faour via Gcc-patches
: New test + 2020-03-09 Marek Polacek PR c++/92031 - bogus taking address of rvalue error. Regards, Nidal Faour >-Original Message- >From: David Malcolm >Sent: Wednesday, 11 March 2020 15:12 >To: Nidal Faour ; gcc-patches@gcc.gnu.org >Cc: Ofer Shinaar ; Craig B

Remove redundant zero extend

2020-03-11 Thread Nidal Faour via Gcc-patches
This patch is a code density oriented and attempt to remove redundant sign/zero extension from assignment statement. The approach taken is to use VRP data while expanding the assignment to RTL to determine whether a sign/zero extension is necessary. Thought the motivation of the patch is code den