[SYCL] Remove unused _PreviewBreakingChanges param from wrapSYCLBinaries#22663
Conversation
…inaries The change removes the _PreviewBreakingChanges bool parameter (and the file-scoped PreviewBreakingChanges static) from wrapSYCLBinaries and its sole caller. The value was stored but never read.
|
|
||
| if (Error E = offloading::wrapSYCLBinaries( | ||
| M, Images, offloading::SYCLWrappingOptions(), | ||
| Args.hasArg(OPT_preview_breaking_changes))) |
There was a problem hiding this comment.
should we remove the opt from clang-linker-wrapper too?
There was a problem hiding this comment.
maybe it is good to keep it, in case, we again will introduce breaking changes in the future.
There was a problem hiding this comment.
i dont have a stong opinion but usually i tend to favor removing code that isn't doing anything, i'll leave it up to Balaji.
There was a problem hiding this comment.
+1 for removing unused option.
|
@intel/llvm-gatekeepers please consider merging |
Hi @bviyer, |
I fixed it. |
bader
left a comment
There was a problem hiding this comment.
LGTM.
Please re-run SYCL end-to-end tests on Ponte Vecchio. I don't think the failure is related to this change, but I'd like to make sure that CI is healthy.
Looks like they are all passing now? |
|
CI looks good, but we still need a review from @intel/dpcpp-clang-driver-reviewers |
Remove unused _PreviewBreakingChanges parameter from wrapSYCLBinaries
The change removes the _PreviewBreakingChanges bool parameter (and the file-scoped PreviewBreakingChanges static) from wrapSYCLBinaries and its sole caller. The value was stored but never read.