Skip to content

Commit 0afd83a

Browse files
committed
Update llvm140_to_70_ir to llvm150_to_70_ir (name only)
1 parent 72ea9c7 commit 0afd83a

File tree

1 file changed

+3
-3
lines changed
  • numba_cuda/numba/cuda/cudadrv

1 file changed

+3
-3
lines changed

numba_cuda/numba/cuda/cudadrv/nvvm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ def llvm_replace(llvmir):
615615
for decl, fn in replacements:
616616
llvmir = llvmir.replace(decl, fn)
617617

618-
llvmir = llvm140_to_70_ir(llvmir)
618+
llvmir = llvm150_to_70_ir(llvmir)
619619

620620
return llvmir
621621

@@ -646,9 +646,9 @@ def compile_ir(llvmir, **opts):
646646
re_attributes_def = re.compile(r"^attributes #\d+ = \{ ([\w\s]+)\ }")
647647

648648

649-
def llvm140_to_70_ir(ir):
649+
def llvm150_to_70_ir(ir):
650650
"""
651-
Convert LLVM 14.0 IR for LLVM 7.0.
651+
Convert LLVM 15.0 IR for LLVM 7.0.
652652
"""
653653
buf = []
654654
for line in ir.splitlines():

0 commit comments

Comments
 (0)