Skip to content

Conversation

@wenju-he
Copy link
Contributor

Adjust spec constant pattern match for base alloca + offset case in device sanitizer.
Address sanitizer merges static allocas into a large layout base alloca and original alloca is replaced with base + offset.

Adjust spec constant pattern match for base alloca + offset case
in device sanitizer.
Address sanitizer merges static allocas into a large layout base
alloca and original alloca is replaced with base + offset.
@wenju-he wenju-he requested a review from a team as a code owner July 24, 2024 10:38
@wenju-he wenju-he requested a review from a team July 25, 2024 00:29
Copy link
Contributor

@AllanZyne AllanZyne left a comment

Choose a reason for hiding this comment

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

LGTM

@wenju-he
Copy link
Contributor Author

kindly ping @intel/dpcpp-tools-reviewers for review

1 similar comment
@wenju-he
Copy link
Contributor Author

wenju-he commented Aug 1, 2024

kindly ping @intel/dpcpp-tools-reviewers for review

Copy link
Contributor

@AlexeySachkov AlexeySachkov left a comment

Choose a reason for hiding this comment

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

Apology for the delay

MODULE_PASS("record-sycl-aspect-names", RecordSYCLAspectNamesPass())
MODULE_PASS("sycl-virtual-functions-analysis",
SYCLVirtualFunctionsAnalysisPass())
MODULE_PASS("spec-constants", SpecConstantsPass())
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks! Most of pass tests use incorrect approach with testing it through sycl-post-link, this is a way better direction

@AlexeySachkov AlexeySachkov merged commit 623bf14 into intel:sycl Aug 1, 2024
@wenju-he wenju-he deleted the SpecConstants-getStringLiteralArg-asan branch August 2, 2024 00:44
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.

3 participants