Re: [RFC/RFA] [PATCH v7 08/12] Add a new pass for naive CRC loops detection.

2024-11-12 Thread Mariam Arutunian
On Tue, Nov 12, 2024 at 2:32 AM Jeff Law wrote: > > > On 11/9/24 12:44 PM, Mariam Arutunian wrote: > > This patch adds a new compiler pass aimed at identifying naive CRC > > implementations, > > characterized by the presence of a loop calculating a CRC (polynomial > > long division). > > Upon det

Re: [RFC/RFA] [PATCH v7 08/12] Add a new pass for naive CRC loops detection.

2024-11-11 Thread Jeff Law
On 11/9/24 12:44 PM, Mariam Arutunian wrote: This patch adds a new compiler pass aimed at identifying naive CRC implementations, characterized by the presence of a loop calculating a CRC (polynomial long division). Upon detection of a potential CRC, the pass prints an informational message.

[RFC/RFA] [PATCH v7 08/12] Add a new pass for naive CRC loops detection.

2024-11-09 Thread Mariam Arutunian
This patch adds a new compiler pass aimed at identifying naive CRC implementations, characterized by the presence of a loop calculating a CRC (polynomial long division). Upon detection of a potential CRC, the pass prints an informational message. Performs CRC optimization if optimization level is