Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL][NFC] Make lit tests agnostic to compiler optimizations #2089

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

bader
Copy link
Contributor

@bader bader commented Jul 10, 2020

As of today SYCL device compiler do not apply any LLVM transformations
to emitted LLVM code, but SYCL tests shouldn't rely on this behavior, so
this patch explicitly set compiler option to disable any LLVM passes.

As of today SYCL device compiler do not apply any LLVM transformations
to emitted LLVM code, but SYCL tests shouldn't rely on this behavior, so
this patch explicitly set compiler option to disable any LLVM passes.
@bader bader requested a review from a team as a code owner July 10, 2020 17:17
@bader bader requested a review from rbegam July 10, 2020 17:17
Copy link
Contributor

@rbegam rbegam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only these three tests?

@bader
Copy link
Contributor Author

bader commented Jul 12, 2020

why only these three tests?

These are failing if optimizations are enabled.
Do you think we should improve other tests?

@bader
Copy link
Contributor Author

bader commented Jul 16, 2020

@intel/llvm-reviewers-runtime, ping.

@rbegam
Copy link
Contributor

rbegam commented Jul 16, 2020

why only these three tests?

These are failing if optimizations are enabled.
Do you think we should improve other tests?

I see. May be not for this PR but we can open an issue and investigate others.

@bader bader merged commit 57a63b0 into intel:sycl Jul 16, 2020
@bader bader deleted the robust-testing branch July 16, 2020 18:41
jsji pushed a commit that referenced this pull request Aug 11, 2023
getNonOpaquePointerElementType is deprecated. This patch
removes 3 calls to it where it's no longer require functional
changes.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@3b9f9a6
jsji pushed a commit that referenced this pull request Aug 11, 2023
'bool llvm::Type::isOpaquePointerTy() const' has been removed.
We need to use isPointerTy() instead.

This PR handles all uses except one (lib/SPIRV/SPIRVWriter.cpp:279) which is handled in a different PR (#2089)

Thanks

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@c7a0b9b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants