[flang-commits] [clang] [flang] [flang] Integrate the option -flang-experimental-integer-overflow into -fno-wrapv (PR #110063)

Yusuke MINATO via flang-commits flang-commits at lists.llvm.org
Thu Oct 31 19:36:59 PDT 2024


yus3710-fj wrote:

I confirmed the performance regression on both Graviton3 and Grace when the value of `copies` is set to 1.

The result of the measurement on Graviton3:
||max|min|avg|
|---|---|---|---|
|before this patch|52.56|52.44|52.518|
|after this patch|48.90 (-7.48%)|48.79 (-7.48%)|48.86 (-7.49%)|

The difference in optimization messages (`-Rpass=.*`):
* `zext` is used instead of `sext` after this patch.
* LICM is promoted by this patch.

I'm investigating why the performance gets worse even though the optimization is promoted.

https://github.com/llvm/llvm-project/pull/110063


More information about the flang-commits mailing list