probinson added a comment. FastISel is normally used only at -O0, I wouldn't expect any parameters to be optimized out at -O0. The test is running llc with default optimization, which is -O2, and forcing fast-isel; this is not a usual combination and I wouldn't expect us to spend any effort making sure debug info works well with that combination.
If flang is forcing fast-isel even with optimization, that sounds like a problem for flang to solve, not LLVM. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99160/new/ https://reviews.llvm.org/D99160 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits