-
Notifications
You must be signed in to change notification settings - Fork 5.3k
JIT: Copy loop memory dependence recursively on hoisting #116068
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,46 @@ | ||||||
| // Licensed to the .NET Foundation under one or more agreements. | ||||||
| // The .NET Foundation licenses this file to you under the MIT license. | ||||||
|
|
||||||
| // Generated by Fuzzlyn v2.8 on 2025-04-27 22:46:08 | ||||||
| // Run on X86 Windows | ||||||
| // Seed: 2255917678885586044-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86bmi1,x86bmi2,x86fma,x86lzcnt,x86pclmulqdq,x86popcnt,x86sse,x86sse2,x86sse3,x86sse41,x86sse42,x86ssse3,x86x86base | ||||||
| // Reduced from 118.3 KiB to 1.0 KiB in 00:17:25 | ||||||
| // Debug: Outputs <0, 0, 0, 0, 0, 0, 0, 0> | ||||||
| // Release: Outputs <1, 0, 0, 0, 0, 0, 0, 0> | ||||||
| using System.Numerics; | ||||||
| using System.Runtime.CompilerServices; | ||||||
| using System.Runtime.Intrinsics; | ||||||
| using Xunit; | ||||||
|
|
||||||
| public class Runtime_115109 | ||||||
| { | ||||||
| static int s_5 = 101; | ||||||
| static Vector<int>[] s_10; | ||||||
| static byte s_21; | ||||||
|
|
||||||
| [Fact] | ||||||
| public static int TestEntryPoint() | ||||||
| { | ||||||
| s_10 = [Vector128.CreateScalar(0).AsVector()]; | ||||||
| bool vr5 = 0 <= M10(); | ||||||
|
||||||
| bool vr5 = 0 <= M10(); | |
| Assert.True(0 <= M10(), "Expected M10() to return a value greater than or equal to 0."); |
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.
Fair point, but I don't think it's worth rerunning CI.
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,8 @@ | ||||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||||
| <PropertyGroup> | ||||||||
| <Optimize>True</Optimize> | ||||||||
|
||||||||
| <Optimize>True</Optimize> | |
| <Optimize>True</Optimize> | |
| <TargetFramework>net7.0</TargetFramework> |
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.
[nitpick] The remark about
'toTree'needing to be in its own statement is unclear. It would help to clarify the precondition (e.g., both trees must be part of the same statement sequence) or remove if not needed.