-
Notifications
You must be signed in to change notification settings - Fork 326
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
Recognize if-like Tree.MultiSegmentApp as IfThenElse IR #11365
Draft
JaroslavTulach
wants to merge
55
commits into
develop
Choose a base branch
from
wip/jtulach/IfThenElse9165
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 46 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
6abf764
Recognize if-like Tree.MultiSegmentApp as IfThenElse IR
JaroslavTulach f5ca8e0
Converting IfThenElse IR to case statement
JaroslavTulach f998708
Support if_then without else
JaroslavTulach fba42c5
Register Literal.Bool and Empty for persistance
JaroslavTulach 7c7c5b3
Note in changelog
JaroslavTulach 94b07b4
Handle missing else branch without NPE
JaroslavTulach f6f0938
Testing behavior of a variable being defined in branch
JaroslavTulach 3a2906b
Variable cannot be use after the if branch is over
JaroslavTulach 3a62199
Bringing in changes from develop, mainly #11395
JaroslavTulach ffab938
Removing changes related to IfThenElseToCase IR conversions
JaroslavTulach 382a0df
Processing IfThenElse IR via controlflow.IfThenElseNode
JaroslavTulach 6b6be17
IfThenElse can access local variables
JaroslavTulach 2835bb4
IfThenElse uses addChild(flattenToParent=true) to process, but isolat…
JaroslavTulach 97c90b8
@Specialization methods don't have to be public
JaroslavTulach 3420d33
Using @Specialization to handle various IfThenElseNode situations
JaroslavTulach 063e7f0
Handling Warnings WithCondition node
JaroslavTulach 4f4fa1d
javafmtAll
JaroslavTulach c2c6b24
Test showing that definition of a variable in if branch overrides global
JaroslavTulach 039ba40
Fixing typo
JaroslavTulach 9f75eb1
No need for boolean literal right now
JaroslavTulach dbaf5f3
Recalculate offset when flattenToParent
JaroslavTulach e852d8a
Adjust the test to IfThenElse element
JaroslavTulach 00a69f7
Adjusting the stacktrace: implementation details disappear with IfThe…
JaroslavTulach c440305
Use if_then function to get mixfix functions semantics
JaroslavTulach 9c747d2
Towards single Scope for all if-then-else branches
JaroslavTulach 546e103
Merging with most recent develop and resolving clashes with #11419
JaroslavTulach 4b9e993
Cannot have argument b and local variable b anymore
JaroslavTulach 1b7ad3c
Give IfThenElseNode a location
JaroslavTulach 35ab5dc
Avoiding t1 and t2 name clash
JaroslavTulach 6ab657d
Merge remote-tracking branch 'origin/develop' into wip/jtulach/IfThen…
JaroslavTulach 0224c00
Merging with GraphBuilder in develop
JaroslavTulach c065882
Use internal variable name
JaroslavTulach d36fc2e
Assert currentFrame is not null
JaroslavTulach bfc4969
Use GraphBuilder more
JaroslavTulach aa93b06
Expanding AliasAnalysisTest with if/then section
JaroslavTulach fbe2324
scalafmtAll
JaroslavTulach 9f6d277
Merge remote-tracking branch 'origin/develop' into wip/jtulach/IfThen…
JaroslavTulach e2a35e1
Merge remote-tracking branch 'origin/develop' into wip/jtulach/IfThen…
JaroslavTulach 933d74c
require non null trueBranch
JaroslavTulach 71cedf2
executeAppend with frame
JaroslavTulach f2d5574
Note applies to both case and if/then/else
JaroslavTulach 63dde4e
Trying to mimic failure in Index_Sub_Range
JaroslavTulach 46e21af
Associate runModule exceptions with name of the module
JaroslavTulach 41162aa
Sharing of an IR at multiple places is common. Only detect cases when…
JaroslavTulach 25bc40f
Merge remote-tracking branch 'origin/develop' into wip/jtulach/IfThen…
JaroslavTulach bd73fcd
Using system path when compiling runtime-compiler-dump-igv
JaroslavTulach ad7b2a7
Use == and not equals when comparing passData
JaroslavTulach 2c09be4
Actually invoke the check function
JaroslavTulach 1cab364
Dump IfThenElse into IGV structure
JaroslavTulach 30b2740
Removing dump statement
JaroslavTulach 40edc67
Writing IfThenElse in Java. Minus 158 lines of Scala. Plus 52 lines o…
JaroslavTulach fbdd31c
Must implement showCode
JaroslavTulach 1b990f5
Merging with most recent develop
JaroslavTulach f10da99
scalafmt
JaroslavTulach 9bb5235
Detect redefined bindings
JaroslavTulach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
runtime-compiler-dump-igv
are visible toenso4igv
tooling.