[llvm] [RFC][SelectionDAG] Not issue TRAP node if naked function (PR #132147)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 20 08:10:29 PDT 2025
yonghong-song wrote:
> This code also exists in GlobalISel (IRTranslator::translateUnreachable). I think we have reached the point where we should extract these 3 implementations of the same checks into a helper, to make sure it stays consistent.
Good point. I missed GlobalISel. I will try to have a common helper for all these three cases.
https://github.com/llvm/llvm-project/pull/132147
More information about the llvm-commits
mailing list