elliottt edited PR #5512 from trevor/riscv64-br-fcmp
to main
:
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt edited PR #5512 from trevor/riscv64-br-fcmp
to main
:
Rework the compilation of fcmp in the riscv64 backend to be in ISLE, removing the need for the dedicated
Fcmp
instruction. This change is motivated by #5500, which showed that the riscv64 backend was generating branch instructions in the middle of a basic block.Fixes #5500
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt updated PR #5512 from trevor/riscv64-br-fcmp
to main
.
elliottt edited PR #5512 from trevor/riscv64-br-fcmp
to main
:
Rework the compilation of fcmp in the riscv64 backend to be in ISLE, removing the need for the dedicated
Fcmp
instruction. This change is motivated by #5500, which showed that the riscv64 backend was generating branch instructions in the middle of a basic block.We can't quite remove
lower_br_fcmp
yet as it's used in a few places in theemit
module, but it's now no longer reachable from the ISLE lowerings.Fixes #5500
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt edited PR #5512 from trevor/riscv64-br-fcmp
to main
:
Rework the compilation of fcmp in the riscv64 backend to be in ISLE, removing the need for the dedicated
Fcmp
instruction. This change is motivated by #5500, which showed that the riscv64 backend was generating branch instructions in the middle of a basic block.We can't remove
lower_br_fcmp
quite yet as it's used in a few places in theemit
module, but it's now no longer reachable from the ISLE lowerings.Fixes #5500
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt updated PR #5512 from trevor/riscv64-br-fcmp
to main
.
elliottt has marked PR #5512 as ready for review.
elliottt requested jameysharp for a review on PR #5512.
jameysharp submitted PR review.
jameysharp submitted PR review.
jameysharp created PR review comment:
;; Construct an IntegerCompare value.
jameysharp created PR review comment:
This comment should say
a == b
rather thana < b
, I think.
jameysharp created PR review comment:
Was this change supposed to be in this PR? It looks like it's a part of #5515 that leaked into here.
elliottt submitted PR review.
elliottt created PR review comment:
Thanks for catching that! Originally I was trying to remove
lower_br_fcmp
in this PR, but started feeling like it was becoming a bit unwieldy.
elliottt updated PR #5512 from trevor/riscv64-br-fcmp
to main
.
elliottt updated PR #5512 from trevor/riscv64-br-fcmp
to main
.
elliottt merged PR #5512.
Last updated: Nov 22 2024 at 17:03 UTC