-
Notifications
You must be signed in to change notification settings - Fork 791
Fix the MemorySanitizer/check_large_access.cpp test failure #20344
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
Draft
YixingZhang007
wants to merge
1
commit into
intel:sycl
Choose a base branch
from
YixingZhang007:fix_check_large_access_test_failure
base: sycl
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
30 changes: 22 additions & 8 deletions
30
llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_arbitrary_precision_integers.ll
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,49 @@ | ||
; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_INTEL_arbitrary_precision_integers %s -o - | FileCheck %s | ||
|
||
define i6 @getConstantI6() { | ||
ret i6 2 | ||
} | ||
|
||
define i13 @getConstantI13() { | ||
ret i13 42 | ||
} | ||
|
||
define i96 @getConstantI96() { | ||
ret i96 18446744073709551620 | ||
} | ||
|
||
define i160 @getConstantI160() { | ||
ret i160 3363637389930338837376336738763689377839373638 | ||
} | ||
|
||
;; Capabilities: | ||
; CHECK-DAG: OpExtension "SPV_INTEL_arbitrary_precision_integers" | ||
; CHECK-DAG: OpCapability ArbitraryPrecisionIntegersINTEL | ||
|
||
; CHECK-NOT: DAG-FENCE | ||
|
||
;; Names: | ||
; CHECK-DAG: OpName %[[#GET_I6:]] "getConstantI6" | ||
; CHECK-DAG: OpName %[[#GET_I13:]] "getConstantI13" | ||
; CHECK-DAG: OpName %[[#GET_I96:]] "getConstantI96" | ||
; CHECK-DAG: OpName %[[#GET_I160:]] "getConstantI160" | ||
|
||
; CHECK-NOT: DAG-FENCE | ||
|
||
;; Types and Constants: | ||
; CHECK-DAG: %[[#I6:]] = OpTypeInt 6 0 | ||
; CHECK-DAG: %[[#I13:]] = OpTypeInt 13 0 | ||
; CHECK-DAG: %[[#I96:]] = OpTypeInt 96 0 | ||
; CHECK-DAG: %[[#I160:]] = OpTypeInt 160 0 | ||
; CHECK-DAG: %[[#CST_I6:]] = OpConstant %[[#I6]] 2 | ||
; CHECK-DAG: %[[#CST_I13:]] = OpConstant %[[#I13]] 42 | ||
; CHECK-DAG: %[[#CST_I96:]] = OpConstant %[[#I96]] 18446744073709551620 | ||
; CHECK-DAG: %[[#CST_I160:]] = OpConstant %[[#I160]] 3363637389930338837376336738763689377839373638 | ||
|
||
; CHECK: %[[#GET_I6]] = OpFunction %[[#I6]] | ||
; CHECK: OpReturnValue %[[#CST_I6]] | ||
; CHECK: OpFunctionEnd | ||
|
||
; CHECK: %[[#GET_I13]] = OpFunction %[[#I13]] | ||
; CHECK: OpReturnValue %[[#CST_I13]] | ||
; CHECK: OpFunctionEnd | ||
|
||
; CHECK: %[[#GET_I96]] = OpFunction %[[#I96]] | ||
; CHECK: OpReturnValue %[[#CST_I96]] | ||
; CHECK: OpFunctionEnd | ||
|
||
; CHECK: %[[#GET_I160]] = OpFunction %[[#I160]] | ||
; CHECK: OpReturnValue %[[#CST_I160]] | ||
; CHECK: OpFunctionEnd |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these changes go upstream?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Nick! Yes, these changes will go to the upstream llvm-project (PR link: llvm/llvm-project#161270). This PR was created to test whether the changes would cause any failures in the SYCL tests before submitting upstream. I have added this to the PR description. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!