[PATCH] [GCCJIT] support dynamic alloca stub

2024-11-09 Thread Schrodinger ZHU Yifan
This patch adds dynamic alloca stubs support to GCCJIT. DEF_BUILTIN_STUB only define the enum for builtins instead of providing the type. Therefore, builtins with stub will lead to ICE before this patch. This applies to `alloca_with_align`, `stack_save` and `stack_restore`. This patch add special

Re: [PATCH] [GCCJIT] support dynamic alloca stub

2024-11-09 Thread Andrew Pinski
On Sat, Nov 9, 2024 at 8:30 PM Schrodinger ZHU Yifan wrote: > > This patch adds dynamic alloca stubs support to GCCJIT. > > DEF_BUILTIN_STUB only define the enum for builtins instead of > providing the type. Therefore, builtins with stub will lead to > ICE before this patch. This applies to `alloc

Re: [PATCH] [GCCJIT] support dynamic alloca stub

2024-11-09 Thread Schrodinger ZHU Yifan
Thank you for the quick review. Indeed, I reverted the changes to tree-ssa-ccp.cc and applied your changes. All tests still pass. Schrodinger ZHU Yifan, Ph.D. Student Computer Science Department, University of Rochester Personal Email: i...@zhuyi.fan Work Email: yifan...@rochester.edu Website: