- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Dear,
I have tried to look which optimisation pass of LLVM takes long time with option -ftime-report=per-pass-run. However, ifx said that it does not know such option:
ifx: command line warning #10006: ignoring unknown option '-ftime-report=per-pass-run'
How can I pass options to LLVM via ifx front-end? I'm using ifx (IFX) 2023.2.0 20230721
Best regards,
Igor
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Not all LLVM compiler options are recognized by ifx. There is an undocumented compiler option -i_tapi that creates <source>.tapi with compiler profile information. It works for both ifx and ifort.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Not all LLVM compiler options are recognized by ifx. There is an undocumented compiler option -i_tapi that creates <source>.tapi with compiler profile information. It works for both ifx and ifort.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
There is this ifx compiler option: -mllvm <LLVM option>. It passes the option to LLVM. BTW, ftime-report=per-pass-run doesn't work with -mllvm; it's a Clang option.
I was just warned that -i_tapi may get renamed at some point.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Note that ifx -c -mllvm -time-passes hello.f90 should work with a recent ifx compiler and should be equivalent to -ftime-report=per-pass-run
