[PATCH] D113300: [SelectionDAG] Merge FoldConstantVectorArithmetic into FoldConstantArithmetic (PR36544)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 5 13:34:13 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll:572
; RV32MV-NEXT: vle16.v v8, (a1)
-; RV32MV-NEXT: lui a1, %hi(.LCPI4_0)
-; RV32MV-NEXT: addi a1, a1, %lo(.LCPI4_0)
-; RV32MV-NEXT: vle16.v v9, (a1)
-; RV32MV-NEXT: vid.v v10
-; RV32MV-NEXT: vsub.vv v8, v8, v10
-; RV32MV-NEXT: vmul.vv v8, v8, v9
-; RV32MV-NEXT: vadd.vv v9, v8, v8
+; RV32MV-NEXT: vmv.v.i v9, 10
; RV32MV-NEXT: addi a1, zero, 9
----------------
Is this just the same instructions in a different order?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113300/new/
https://reviews.llvm.org/D113300
More information about the llvm-commits
mailing list