llvm-project
c183af34 - [CIR] Implement 'noreturn' attribute for functions/calls. (#177978)

Commit
25 days ago
[CIR] Implement 'noreturn' attribute for functions/calls. (#177978) This mirrors what LLVM does, and requires propagating into the LLVM dialect: When the user specifies 'noreturn' we propagate this down throughout the stack. Note the similar 'willreturn' is too strong of a guarantee (in that they are not opposites of each other, as there is a 'unknown' implied by all others), so we cannot use that on non-noreturn functions.
Author
Parents
Loading