Skip to content

MLIR: how to disable constant propagation during inlining? #184

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

Closed
dpotop opened this issue Mar 18, 2020 · 2 comments
Closed

MLIR: how to disable constant propagation during inlining? #184

dpotop opened this issue Mar 18, 2020 · 2 comments

Comments

@dpotop
Copy link

dpotop commented Mar 18, 2020

Hello,

It seems that adding inlining to the pass manager automatically
enables constant propagation. Is there a way to disable it ?

Best regards,
Dumitru

@River707
Copy link
Contributor

What is your use case for disabling? The inliner runs canonicalization/simplification on the callgraph nodes during inlining as it will directly play into the cost model. There is a flag mlir-disable-inline-simplify, but that has generally just been for testing.

@dpotop
Copy link
Author

dpotop commented Mar 19, 2020

Thanks River707 - testing is exactly my objective, since it's apparently the only way of starting to use MLIR, and understanding how each pass works.

@dpotop dpotop closed this as completed Mar 19, 2020
am11 pushed a commit to am11/llvm-project that referenced this issue Mar 29, 2022
…321.2 (llvm#184)

[objwriter/12.x] Update dependencies from dotnet/arcade
vext01 pushed a commit to vext01/llvm-project that referenced this issue Jul 25, 2024
Assert type of global variables.
jpinot pushed a commit to jpinot/llvm-project that referenced this issue Apr 9, 2025
The priority comparing it with clang cmake option and -fompss-2= option
is as follows

(more priority) -fompss-2=  > OMPSS2_RUNTIME > CLANG_DEFAULT_OMPSS2_RUNTIME (less priority)

Closes llvm#184
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

No branches or pull requests

2 participants