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

Unnecessary AsLogical and Not instructions #1268

Open
skrynski opened this issue Mar 5, 2024 · 0 comments
Open

Unnecessary AsLogical and Not instructions #1268

skrynski opened this issue Mar 5, 2024 · 0 comments
Labels
bug pir to be solved in the compiler, the PIR, the optimizer (/compiler)

Comments

@skrynski
Copy link
Collaborator

skrynski commented Mar 5, 2024

Get rid of the redundant AsLogical and Not instructions

repro (PIR_WARMUP=3)

f <- function(x) isTRUE(x)
f(FALSE)
f(FALSE)
f(FALSE)
f(FALSE)

Screenshot 2024-02-27 at 13 38 53

@skrynski skrynski added pir to be solved in the compiler, the PIR, the optimizer (/compiler) bug labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pir to be solved in the compiler, the PIR, the optimizer (/compiler)
Projects
None yet
Development

No branches or pull requests

1 participant