Repository navigation
LLVM14 - #8535
LLVM14#8535
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 8535 in repo numba/numba |
|
#8738 documents why we cannot use llvm14 on linux-aarch64 |
| - importlib_metadata # [py<39] | ||
| # On channel https://anaconda.org/numba/ | ||
| - llvmlite >=0.40.0dev0,<0.40 | ||
| - llvmlite >=0.40.0dev0llvm14,<0.40 |
There was a problem hiding this comment.
Do we need to split build of llvmlite on aarch64 to use llvm11? Or, can we just say we stay on llvmlite 0.39? This is something we should decide @numba/fpoc
sklam
left a comment
There was a problem hiding this comment.
Just one suggestion on adding a test for fanout_raise refpruning. Beside needing decision on how to move forward for llvm14/11 split builds. Everything else looks good.
|
I tested this patch with LLVM11 (with _ensure_llvm disabled) on x86 as a guess-estimate of problems on linux-aarch64. Ignoring failures that are testing llvmlite version ( |
As titled
As titled. Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
|
NOTE: the table here will need an update in the LLVM version column: numba/docs/source/user/installing.rst Line 260 in 135d150 |
As titled.
|
|
||
| _min_llvmlite_version = (0, 40, 0) | ||
| _min_llvm_version = (11, 0, 0) | ||
| _min_llvm_version = (14, 0, 0) |
There was a problem hiding this comment.
This needs to be conditional on the platform due to linux-aarch64 split build.
There was a problem hiding this comment.
I think should be just 11. We're theoretically fine with LLVM 11 on any platform, right?
|
@apmasell, this PR needs a merge main to resolve conflicts |
|
gpuci run tests |
| pm.add_cfg_simplification_pass() | ||
| else: | ||
| pm.add_instruction_combining_pass() | ||
| pm.add_jump_threading_pass() |
There was a problem hiding this comment.
Please could a comment be added explaining what the problem was and why this fixes it? Thanks!
|
I tested this branch against the latest llvmlite package at #8807 and it passed (except windows are failing due to timeout) |
There was a problem hiding this comment.
A few more comments need address before merging, including #8535 (comment)
and mainly reverting the change in the llvmlite version.
| - importlib_metadata # [py<39] | ||
| # On channel https://anaconda.org/numba/ | ||
| - llvmlite >=0.40.0dev0,<0.40 | ||
| - llvmlite >=0.40.0dev0llvm14,<0.40 |
| call activate %CONDA_ENV% | ||
| @rem Install latest llvmlite build | ||
| %CONDA_INSTALL% -c numba/label/dev llvmlite=0.40 | ||
| %CONDA_INSTALL% -c numba/label/dev "llvmlite=0.40.0dev0llvm14*" |
|
|
||
| # Install latest correct build | ||
| $CONDA_INSTALL -c numba/label/dev llvmlite=0.40 | ||
| $CONDA_INSTALL -c numba/label/dev "llvmlite=0.40.0dev0llvm14*" |
| self.check(func, (types.intp), basicblock=True, diamond=False, | ||
| fanout=True, fanout_raise=False) | ||
|
|
||
| def test_fanout_3(self): |
There was a problem hiding this comment.
Do we need to skip this for linux-aarch64 or just when llvm version == 11?
There was a problem hiding this comment.
As longa s we're using a new llvmlite, I think this should work.
As titled.
As titled.
As titled.
|
Builds are failing expectedly because they are picking up the old llvmlite build |
No description provided.