@@ -0,0 +1,37 @@
+// RUN: split-file %s %t
+// RUN: python %t/gen.py %t/switch-overflow.c %t/tmp.c && %clang_cc1
-emit-llvm %t/tmp.c -o - | FileCheck %t/tmp.c
+
+//--- gen.py
stephenverderame wrote:
Sounds good, I can do that.
https://github.com/llvm/llvm-proje
@@ -0,0 +1,37 @@
+// RUN: split-file %s %t
+// RUN: python %t/gen.py %t/switch-overflow.c %t/tmp.c && %clang_cc1
-emit-llvm %t/tmp.c -o - | FileCheck %t/tmp.c
+
+//--- gen.py
stephenverderame wrote:
On my local machine, `32,000` seems to work alright and it seem
https://github.com/stephenverderame updated
https://github.com/llvm/llvm-project/pull/115395
>From 71702aca23fcc8e2d104d483a40ae16a4a30e48d Mon Sep 17 00:00:00 2001
From: Stephen Verderame
Date: Mon, 21 Oct 2024 10:01:43 -0700
Subject: [PATCH] [clang] Use worklist for some CodeGenFunctions
Thi