[clang] [clang] Use a Worklist for some CodeGenFunctions (PR #115395)
Stephen Verderame via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 2 17:46:40 PST 2024
================
@@ -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 seems to crash at somewhere around `60,000`. I increased the test size bc of this, but I can change it back if that's too much.
> Frankly, we should probably just change the representation in the AST
Should I do this as part of this PR?
https://github.com/llvm/llvm-project/pull/115395
More information about the cfe-commits
mailing list