Eric-Guo-NXP wrote: > LGTM, please update PR title and message accordingly. > > `-disable-llvm-passes` should be better than `-O0`. SPIRV is generic target > and doesn't have TTI interface, which can cause optimizations pass to make > suboptimal decisions. An alternative approach is to selectively disable some > passes , but this is not trivial.
done. https://github.com/llvm/llvm-project/pull/202891 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
