dg icon indicating copy to clipboard operation
dg copied to clipboard

LLVM: Bump to LLVM 18

Open XChy opened this issue 2 years ago • 2 comments

Fixes #453 If possible, I prefer to creating a new branch llvm-latest to cover it. But I have not writing access. LLVM's IR and API have changed a lot so far, like opaque-ptr, and the master branch of dg is not compatible with latest LLVM version. So I post this PR to fix it.

XChy avatar Nov 22 '23 16:11 XChy

Thanks a lot, such patches are always very welcome! I created the branch llvm-latest as you wanted. If you're OK with that, I would later apply this PR with some modifications to devel and eventually to master branches. (the modification would be just to drop reformatting of CMakeLists.txt and fix the changes so that they work with older LLVMs too).

mchalupa avatar Nov 29 '23 12:11 mchalupa

Thanks. That's OK. But to note, this patch just makes it compilable, not free of bugs. Such integration with latest LLVM is untested, so we may need to fix it in the future.

XChy avatar Nov 29 '23 13:11 XChy