[llvm] [RISCV][GISel] Legalize G_SADDO/G_SSUBO/G_UADDO/G_USUBO. (PR #67615)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 15:48:23 PDT 2023
================
@@ -43,8 +43,10 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST) {
.clampScalar(0, s32, XLenLLT);
getActionDefinitionsBuilder(
- {G_UADDE, G_UADDO, G_USUBE, G_USUBO})
- .lowerFor({{XLenLLT, s1}});
+ {G_UADDE, G_UADDO, G_USUBE, G_USUBO}).lower();
+
+ getActionDefinitionsBuilder({G_SADDO, G_SSUBO})
+ .lower();
----------------
mshockwave wrote:
code formatting here seems a little bit weird...the clang-format bot was not happy about this either
https://github.com/llvm/llvm-project/pull/67615
More information about the llvm-commits
mailing list