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

More test fixes #11

Merged
merged 2 commits into from
Jun 24, 2017
Merged

More test fixes #11

merged 2 commits into from
Jun 24, 2017

Conversation

zeuk
Copy link

@zeuk zeuk commented Jun 23, 2017

Fix bitops test, closes #7

Variable shift generates both left and right shifts and then uses select IR instruction to chose between them. Test only tries to verify compare and select instructions but trips on three more instructions in between. Trying to verify those three instructions is redundant and somewhat fragile, so it is better to change CHECK-NEEXT directive to CHECK.

Change EmitRuntimeCall to EmitCall for STOP statement, closes #8

EmitRuntimeCall does not produce arguments, which triggers a debug assert in LLVM when generating code for STOP statement.

zeuk added 2 commits May 18, 2017 21:32
Variable shift generates both left and right shifts and then uses select IR instruction to chose between them. Test only tries to verify compare and select instructions but trips on three more instructions in between. Trying to verify those three instructions is redundant and somewhat fragile, so it is better to change CHECK-NEEXT directive to CHECK.
Fixes test failure in CodeGen/core.f95.

EmitRuntimeCall does not produce arguments, which triggers a debug assert in LLVM when generating code for STOP statement.
@jleidel jleidel merged commit a772fc5 into llvm-flang:master Jun 24, 2017
@zeuk zeuk deleted the more_tests branch June 25, 2017 23:55
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.

core.f95 test hits an assert bitops.f95 test fails
2 participants