[llvm] [RFC][SelectionDAG] Not issue TRAP node if naked function (PR #132147)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 20 03:18:08 PDT 2025


https://github.com/nikic commented:

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.

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


More information about the llvm-commits mailing list