numba / numba

NumPy aware dynamic Python compiler using LLVM
https://numba.pydata.org/
BSD 2-Clause "Simplified" License
9.96k stars 1.13k forks source link

llvm.dbg.declare deprecation #3595

Open sklam opened 5 years ago

sklam commented 5 years ago

Variable debug info is marked with llvm.dbg.declare, which is pending deprecation according to llvm docs. A new llvm.dbg.addr is available to replace the deprecated API. The two API have the same interface so we can easily substitute the one API. See https://reviews.llvm.org/D37768.

However, NVVM IR 1.5 doesn't support the new llvm.dbg.addr yet. Otherwise, we could make the change right now.

seibert commented 5 years ago

note that NVVM IR 1.5 is only available when using bitcode. text IR is stuck on an older version.