-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Less optimistic checking for const vector to pattern checks #124599
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
Open
a74nh
wants to merge
7
commits into
dotnet:main
Choose a base branch
from
a74nh:minus3_github
base: main
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.
+69
−20
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
99cf54d
Less optimistic checks for const vector to pattern checks
a74nh 99725a7
Add test
a74nh 88f741c
Remove RequiresProcessIsolation
a74nh a353a5b
Remove csproj file
a74nh 97b47ce
Add cast
a74nh be9df5f
Explicit casting for windows
a74nh b7654b1
formatting
a74nh 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
38 changes: 38 additions & 0 deletions
38
src/tests/JIT/Regression/JitBlue/Runtime_124511/Runtime_124511.cs
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 |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| // Generated by Fuzzlyn v3.3 on 2026-02-15 17:21:42 | ||
| // Run on Arm64 Linux | ||
| // Seed: 103488890012433678-vectort,vector64,vector128,armadvsimd,armadvsimdarm64,armaes,armarmbase,armarmbasearm64,armcrc32,armcrc32arm64,armdp,armrdm,armrdmarm64,armsha1,armsha256,armsve,armsve2 | ||
| // Reduced from 29.2 KiB to 0.7 KiB in 00:00:16 | ||
| // Debug: Outputs -3 | ||
| // Release: Outputs -2 | ||
|
|
||
| namespace Runtime_124511; | ||
|
|
||
| using System.Numerics; | ||
| using System.Runtime.CompilerServices; | ||
| using System.Runtime.Intrinsics; | ||
| using System.Runtime.Intrinsics.Arm; | ||
| using Xunit; | ||
|
|
||
| public unsafe class Runtime_124511 | ||
| { | ||
| [ConditionalFact(typeof(Sve), nameof(Sve.IsSupported))] | ||
| public static void TestEntryPoint() | ||
| { | ||
| Assert.True(MainTest() == -3); | ||
| } | ||
|
|
||
| [MethodImpl(MethodImplOptions.NoInlining)] | ||
| public static sbyte MainTest() | ||
| { | ||
| var vr8 = Vector.Create<uint>(1); | ||
| var vr9 = Vector128.CreateScalar(4701966028735610216UL).AsVector(); | ||
| var vr10 = Sve.ShiftLeftLogical(vr8, vr9); | ||
| var vr11 = Vector128.CreateScalar(2U).AsVector(); | ||
| var vr12 = Sve.Subtract(vr10, vr11); | ||
| var vr13 = Vector.Create<uint>(1); | ||
| var vr14 = Vector128.CreateScalar(0U).AsVector(); | ||
| var vr15 = Sve.CreateBreakBeforePropagateMask(vr12, vr13, vr14); | ||
| sbyte vr16 = (sbyte)Sve.SaturatingDecrementByActiveElementCount(0, vr15); | ||
| return vr16; | ||
| } | ||
| } |
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
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.
Uh oh!
There was an error while loading. Please reload this page.