-
Notifications
You must be signed in to change notification settings - Fork 137
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
loop metadata: add two more test cases and improve loop discovery #1259
Conversation
Somehow downstream compiler is capable to find more loops than upstream.
Upstream (grep br), see
|
I've added a small code change which mitigates the problem |
e3c2286
to
89b7ac6
Compare
I suspect cgmain changes aren't needed after rebase |
Those two test cases were supposed to be contributed to PR flang-compiler#1094. Unfortunately, at that time, the -emit-flang-llvm flag was not supported by the frontend driver yet. Signed-off-by: Paul Osmialowski <[email protected]>
89b7ac6
to
f5adf74
Compare
These test cases are wrongly designed. With too many CHECK-DAG, the right occurrence of |
Those two test cases were supposed to be contributed to PR #1094
Unfortunately, at that time, the -emit-flang-llvm flag was not supported by the frontend driver yet.