Back-port of some patches from llvm16 version of Translator.#2371
Merged
MrSidims merged 5 commits intoKhronosGroup:llvm_release_140from Feb 28, 2024
Merged
Conversation
0851e5e to
e467623
Compare
MrSidims
reviewed
Feb 27, 2024
test/transcoding/SPV_INTEL_kernel_attributes/spirv_fpga_function_decorations.ll
Show resolved
Hide resolved
test/transcoding/SPV_INTEL_kernel_attributes/register_map_interface_attribute.ll
Show resolved
Hide resolved
test/transcoding/SPV_INTEL_kernel_attributes/function_attributes.ll
Outdated
Show resolved
Hide resolved
…metadata Supporting the new FPGA kernel attribute pipelined needs the translator to handle !spirv.Decoration metadata on functions as well as on global variables. If the MD is found on the function, call the existing translation of metadata.
…ution mode This PR adds the new execution mode RegisterMapInterfaceINTEL, see the Khronos SPIRV spec here: KhronosGroup/SPIRV-Registry#176 This execution mode allows specifying a 'register' based interface for FPGA kernels.
…ation_delay attribute The attribute generates the llvm.loop.intel.max_reinvocation_delay.count metadata in LLVM IR. There is one positive integer literal operand denoting the maximum number of cycles allowed between loop invocations.
Handle new properties and decorate prefetch's arg.
f4736ef to
53134c1
Compare
53134c1 to
1180308
Compare
MrSidims
approved these changes
Feb 28, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Back-port of RegisterMapInterfaceINTEL and !spirv.Decoration metadata patches from llvm16 version of Translator, as well as some tests covering Intel extensions.