update x64 peephole, support VLA in loop, and fix some bugs
authoryu.dongliang <18588496441@163.com>
Thu, 20 Feb 2025 09:37:54 +0000 (17:37 +0800)
committeryu.dongliang <18588496441@163.com>
Thu, 20 Feb 2025 09:37:54 +0000 (17:37 +0800)
commitb48cfafcfa379ce76435bdec861d8363b94dfbe4
tree90b5c22c24e6dbd839a5d855a0e5e317fc0419d7
parent8ed9438d829fc33e4134a15c908760feccbc27c3
update x64 peephole, support VLA in loop, and fix some bugs
23 files changed:
core/scf_3ac.c
core/scf_basic_block.h
core/scf_core_types.h
core/scf_operator_handler_3ac.c
core/scf_optimizer.c
core/scf_optimizer_basic_block.c
core/scf_optimizer_call.c
core/scf_optimizer_common_expr.c
core/scf_optimizer_inline.c
core/scf_optimizer_split_call.c [new file with mode: 0644]
examples/array_pointer_opt2.c [new file with mode: 0644]
examples/inline.c [new file with mode: 0644]
examples/setcc.c [moved from examples/declare_vars.c with 100% similarity]
examples/str.c
examples/vla_2.c [new file with mode: 0644]
lib/x64/scf_object.o
native/x64/scf_x64.c
native/x64/scf_x64_inst.c
native/x64/scf_x64_inst_cmp.c
native/x64/scf_x64_peephole.c
native/x64/scf_x64_rcg.c
native/x64/scf_x64_reg.h
parse/Makefile