Skip to content
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

Petrov Maksim. Lab 1. Var 3. #4

Closed

Conversation

soileks
Copy link

@soileks soileks commented Mar 17, 2024

No description provided.

AveZorgen and others added 11 commits March 4, 2024 22:18
* first commit

* remove redundant foreach

* getting funcname shorter
* first commit

* make action

* made tests more diversed and got rid of using namespace
* Task is ready!

* Update!

* Update for workflow

* Update code

* Update code

* 1. The ASTContext *Context field was removed from the PrintClassVisitor class as unnecessary.
2. The CreateASTConsumer method of the PrintClassLASTAction class now returns make_unique, not new.
3. The help option for the plugin has been added and tested.

* Update code for reload actions (windows-build failed).
@soileks soileks closed this Mar 17, 2024
Kuznetsov-Artyom pushed a commit that referenced this pull request Dec 27, 2024
Somewhat confusingly a `SCEVMulExpr` is a `SCEVNAryExpr`, so can have
> 2 operands. Previously, the vscale immediate matching did not check
the number of operands of the `SCEVMulExpr`, so would ignore any
operands after the first two.

This led to incorrect codegen (and results) for ArmSME in IREE
(https://github.com/iree-org/iree), which sometimes addresses things
that are a `vscale * vscale` multiple away. The test added with this
change shows an example reduced from IREE. The second write should
be offset from the first `16 * vscale * vscale` (* 4 bytes), however,
previously LSR dropped the second vscale and instead offset the write by
`#4, mul vl`, which is an offset of `16 * vscale` (* 4 bytes).

(cherry picked from commit 7fad04e)
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.

10 participants