[all-commits] [llvm/llvm-project] c6dee6: [GlobalISel][Mips] Sync G_UADDE and G_USUBE legali...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Aug 17 20:37:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c6dee6982f733401e01b3b585370fa1886dd8201
https://github.com/llvm/llvm-project/commit/c6dee6982f733401e01b3b585370fa1886dd8201
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/add.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/sub.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub.ll
Log Message:
-----------
[GlobalISel][Mips] Sync G_UADDE and G_USUBE legalization with LegalizeDAG.
This modifies the G_UADDE legalizaton to a version that looks shorter
on Mips and RISC-V when feeding the equivalent IR to SelectionDAG.
This also removes the boolean select from G_USUBE.
Comments taken from LegalizeDAG and tweaked.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D158232
More information about the All-commits
mailing list