diff options
author | Mariam Arutunian <mariamarutunian@gmail.com> | 2024-11-11 13:01:19 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-12-01 08:54:22 -0700 |
commit | 4d2b9202fe94c54e63fb07d48293a78da3d82532 (patch) | |
tree | 4682b0ae437ab86f9fa6270418a0744e98e40321 /gcc/tree-ssa-phiopt.cc | |
parent | dcc6101cb166b4c59afecc2a3cf1d7aa655fe76a (diff) | |
download | gcc-4d2b9202fe94c54e63fb07d48293a78da3d82532.zip gcc-4d2b9202fe94c54e63fb07d48293a78da3d82532.tar.gz gcc-4d2b9202fe94c54e63fb07d48293a78da3d82532.tar.bz2 |
[PATCH v7 11/12] Replace the original CRC loops with a faster CRC calculation
After the loop exit an internal function call (CRC, CRC_REV) is added, and its
result is assigned to the output CRC variable (the variable where the
calculated CRC is stored after the loop execution). The removal of the loop is
left to CFG cleanup and DCE.
gcc/
* gimple-crc-optimization.cc (optimize_crc_loop): New function.
(execute): Add optimize_crc_loop function call.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions