Loop fusion in gcc

Hanke Zhang hkzhang455@gmail.com
Sat Sep 23 12:53:05 GMT 2023


Hi, I have been very interested in loop fusion recently. I found that
both LLVM and icc have implemented this optimization. I also noticed
that gcc does not seem to implement it.

I would like to ask if gcc have any plans to implement this
optimization? In addition, I also found that there is a function
called `fuse_loop` in gcc/gimple-loop-jam.cc. Can it achieve the
purpose of loop fusion?

Hanke Zhang.


More information about the Gcc mailing list