Closed mewmew closed 5 years ago
From https://github.com/mewmew/uc/commit/69873ed74983ff01d24d1d53d2b60e2e3c7ae6a0:
Note, constant.NewGetElementPtr and ir.NewGetElementPtr currently requires an elemType parameter. The llir/llvm library will be update to remove this requirement, as elemType may be inferred from the src and indices parameters.
Edit: as of rev https://github.com/llir/llvm/commit/d4f47978f3b28bd3957686a36724690cb3b44439 llir/llvm has been updated to remove the elemType
parameter, which is now inferred from src
instead.
In preparation for the v0.3.0 release of llir/llvm, we should update uc to make use of the latest llir/llvm API.
The build of uc currently fails with the following compile time error: