From noreply at github.com Tue Apr 9 07:39:02 2024 From: noreply at github.com (peter mckinna) Date: Mon, 08 Apr 2024 22:39:02 -0700 Subject: [M3commit] [modula3/cm3] bdf333: Added llvm support for current version 18. This is... Message-ID: Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: bdf3334dcf79ea0d72a11124b2d01e007fcd9b97 https://github.com/modula3/cm3/commit/bdf3334dcf79ea0d72a11124b2d01e007fcd9b97 Author: peter mckinna Date: 2024-04-09 (Tue, 09 Apr 2024) Changed paths: A m3-sys/llvm/llvm18/src/M3CG_LLVM.i3 A m3-sys/llvm/llvm18/src/M3CG_LLVM.m3 A m3-sys/llvm/llvm18/src/Main.m3 A m3-sys/llvm/llvm18/src/m3makefile A m3-sys/llvm/llvm18/src/version.quake A m3-sys/llvm/llvm18bindings/src/DwarfConst.i3 A m3-sys/llvm/llvm18bindings/src/LLVM.i3 A m3-sys/llvm/llvm18bindings/src/LLVMTypes.i3 A m3-sys/llvm/llvm18bindings/src/M3DebugInfo.i A m3-sys/llvm/llvm18bindings/src/M3DebugInfo.i3 A m3-sys/llvm/llvm18bindings/src/M3DebugInfo.m3 A m3-sys/llvm/llvm18bindings/src/M3DebugInfoRaw.i3 A m3-sys/llvm/llvm18bindings/src/M3DebugInfoRaw.m3 A m3-sys/llvm/llvm18bindings/src/buildextras A m3-sys/llvm/llvm18bindings/src/extras.c A m3-sys/llvm/llvm18bindings/src/gendebuginfo A m3-sys/llvm/llvm18bindings/src/m3makefile Log Message: ----------- Added llvm support for current version 18. This is for reference only as the bindings cannot be compiled without a couple of changes to llvm itself. Which I plan to do. These are to do with debug support for dynamic arrays and subranges. You could possibly comment them out if you are keen to try. Also this version supports the major change llvm made to support opaque pointers. As a result m3 llvm is slightly simpler especially in doing loads and stores. In the IR you will now see things like ptr somevar instead of i64* somevar. A lot of bitcasts bewteen i8* and i64* have become redundant. To unsubscribe from these emails, change your notification settings at https://github.com/modula3/cm3/settings/notifications