From 4022e5c95210631e4aceb08eaf9d9071aa5aefc4 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Tue, 15 Sep 2026 08:16:43 +0800 Subject: Set up a git repo --- tests/performance/10_hoist-2.sy | 127 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 tests/performance/10_hoist-2.sy (limited to 'tests/performance/10_hoist-2.sy') diff --git a/tests/performance/10_hoist-2.sy b/tests/performance/10_hoist-2.sy new file mode 100644 index 0000000..836fc07 --- /dev/null +++ b/tests/performance/10_hoist-2.sy @@ -0,0 +1,127 @@ +//gcc hoist.c sylib.c -include sylib.h -Wall -Wno-unused-result -o binary-hoist && time ./binary-hoist < hoist.in +int loopCount = 0; +int func(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12, int i13, int i14, int i15) +{ + int result = 0; + int i = 0; + while(i