[clang] [CIR] Add CIRGen for cir.unreachable and cir.trap (PR #151363)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 1 11:34:56 PDT 2025
================
@@ -269,6 +270,16 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID,
case Builtin::BI__builtin_rotateright32:
case Builtin::BI__builtin_rotateright64:
return emitRotate(e, /*isRotateLeft=*/false);
+
+ case Builtin::BI__builtin_trap: {
----------------
andykaylor wrote:
Braces aren't needed for either of these case statements.
https://github.com/llvm/llvm-project/pull/151363
More information about the cfe-commits
mailing list