[Mlir-commits] [clang] [mlir] [CIR] Implement 'noreturn' attribute for functions/calls. (PR #177978)

Erich Keane llvmlistbot at llvm.org
Tue Jan 27 07:11:56 PST 2026


================
@@ -0,0 +1,49 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
----------------
erichkeane wrote:

In CIR we've been doing:

`CIR` -> In CIR
`LLVM` -> CIR->LLVM Path
`OGCG` -> Direct to LLVM path.

`OGCG` and `LLVM` being the same length is pretty convenient/nice and easy to compare.

The former is a bit of a joke (The "OG Code Gen") which requires some level of exposure to 80s/90s US "gang" culture to really understand ("OG" stands for 'original gangster', which was a term of respect in 70s/80s gang culture, that was then used a ton in 90s rap music, and got diluted to the point that a bunch of 40+ white-guy-programmers started using it in check-lines on LLVM tests :-P).

All that to say, I'm open to whatever.

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


More information about the Mlir-commits mailing list