Skip to content

Conversation

@nikolaperic
Copy link
Collaborator

These changes fix the remaining 13 failing LLVM tests when running ninja check-llvm:

  • CodeGen/Mips/nanomips/bittestbranch.ll
  • CodeGen/Mips/nanomips/jumptable.ll
  • MC/Mips/cnmips/invalid.s
  • MC/Mips/macro-li-bad.s
  • MC/Mips/mips32r6/invalid.s
  • MC/Mips/micromips-invalid.s
  • MC/Mips/mips32r2/invalid.s
  • MC/Mips/micromips32r6/invalid.s
  • MC/Mips/mips64r6/invalid.s
  • MC/Mips/msa/invalid-64.s
  • MC/Mips/msa/invalid.s
  • tools/UpdateTestChecks/update_llc_test_checks/mips_generated_funcs.test
  • DebugInfo/Mips/delay-slot.ll

@djtodoro djtodoro requested review from cme and farazs-github May 26, 2023 12:23
Copy link
Member

@farazs-github farazs-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments added. At least one change needs further inputs from @cme

- Fix instructions conflicts between NanoMips and other Mips targets
  that caused tests from the MC/Mips group to fail
- Fix several tests
- Fix debug location of SP adjustment instruction that caused
  DebugInfo/Mips/delay-slot.ll test to fail
- Add 'nanomips' feature to llvm-lit config script so that
  tests can be marked as UNSUPPORTED for NanoMips target
@farazs-github farazs-github self-assigned this Jun 16, 2023
Copy link
Member

@farazs-github farazs-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few more changes required.

I suggest you add more commits instead of force-pushing on the pull request. I'll squash-and-merge all the changes once approved to get a clean history.

Nikola Peric added 2 commits June 16, 2023 14:12
- Fix expected output for jumptable.ll and
  mips_generated_funcs.ll tests
- No longer need to mark a test ExtDebugInfo.cpp that
  needs object emitter as UNSUPPORTED
- Delete line left behind by a merge conflict in
  sanitize-coverage-old-pm.c test
@nikolaperic
Copy link
Collaborator Author

Added one more commit which fixes last two of failing clang tests.

Test clang/test/CodeGen/sanitize-coverage-old-pm.c now passes unexpectedly because it was marked as XFAIL. Was that the intention or maybe the test should have been marked as UNSUPPORTED? It was marked as XFAIL in this commit.

Copy link
Member

@farazs-github farazs-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change

Copy link
Member

@farazs-github farazs-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cme cme merged commit cf5782d into MediaTek-Labs:nanomips-llvm13-submission Jun 29, 2023
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.

3 participants