Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Remove opt to generate llvmbc from llvmir and clean up spirv_generator.py - #481

Merged
reazulhoque merged 13 commits into
IntelPython:mainfrom
reazulhoque:fix/opt_llvmir_bitcode
Jun 24, 2021
Merged

reazulhoque merged 13 commits into
IntelPython:mainfrom
reazulhoque:fix/opt_llvmir_bitcode

Conversation

@reazulhoque

@reazulhoque reazulhoque commented Jun 24, 2021 •

Copy link
Copy Markdown
Contributor

Closes #249

This PR:

  1. Adds documentation in spirv_generator.py.
  2. Cleans up spirv_generator.py.
  3. Dumps LLVM IR, LLVM Bitcode and generated SPIRV in the directory the program was run from when users provide NUMBA_DPPY_SAVE_IR_FILES.
  4. Removes usage of opt to generate llvmbc from llvmir

Comment thread numba_dppy/spirv_generator.py Resolved
Comment thread numba_dppy/spirv_generator.py Resolved
Comment thread numba_dppy/spirv_generator.py Resolved
@diptorupd

Copy link
Copy Markdown
Contributor

Convert the comment at the top of the file into a module docstring.

Comment thread numba_dppy/spirv_generator.py Resolved
@reazulhoque
reazulhoque merged commit fef12e0 into IntelPython:main Jun 24, 2021
@reazulhoque
reazulhoque deleted the fix/opt_llvmir_bitcode branch June 24, 2021 22:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the explicit call to opt inside spirv-generator

2 participants