-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Fix missing parameter attrs on sampler wrappers
This fixes a bug introduced recently, where the wrappers we create (before LLVM 17) were losing the parameter attributes from the original kernel. This could lead to incorrect codegen in certain cases, most notably when we lose `byval` attributes.
- Loading branch information
1 parent
759235a
commit 1b2971d
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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