-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Test failure JIT/Performance/CodeQuality/Benchstones/BenchF/MatInv4/MatInv4/MatInv4.sh #61899
Comments
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsRun: runtime-coreclr jitstressregs 20211121.1 Failed test:
Error message:
|
@BruceForstall PTAL. |
@kunalspathak assert related to loop alignment (and also JitStressRegs=1?) |
This is happening precisely because of a scenario for which I added a separate flag to track if alignment flag is removed or not. But after re-thinking from #60787 (comment) I decided to remove it. Here is the scenario: We align a loop ...
IG03:
<align for IG04>
IG04: ; loop start at IG04
...
IG05:
...
jmp ...
<align for IG15> ; there is another loop at IG15 and we decide to put its alignment in this block.
IG06:
...
jne IG04
...
Alternatively, one may argue to why bother place |
IIUC, the assert happens because when we go to emit the alignment for IG04, we calculate the alignment padding needed by calling Is the assert valid? It seems like we might not be able to guarantee loop size. Or, should |
If we decide not to align
That's right.
The assert is not valid only in two scenarios:
runtime/src/coreclr/jit/emitxarch.cpp Lines 10037 to 10040 in 85642f8
I am improving that check further in #62106.
We already do that today: runtime/src/coreclr/jit/emit.cpp Lines 5127 to 5128 in 85642f8
|
Spoke offline with @BruceForstall and here are few things we concluded:
|
I also realized that I was handling the case to add |
This reverts commit 1fc26a5.
Failed again in: runtime-coreclr jitstressregs 20211205.1 Failed test:
Error message:
|
This is fixed in #62262 |
Run: runtime-coreclr jitstressregs 20211121.1
Failed test:
Error message:
The text was updated successfully, but these errors were encountered: