[PATCH] D130543: [RISCV]Enable isIntDivCheap when attribute is minsize

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 21:48:40 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/div_minsize.ll:8
+define i32 @testsize1(i32 %x) minsize nounwind {
+; RV32-LABEL: testsize1:
+; RV32:       # %bb.0: # %entry
----------------
RV32 and RV64 aren't in your RUN lines


================
Comment at: llvm/test/CodeGen/RISCV/div_minsize.ll:33
+entry:
+       %div = sdiv i32 %x, 32
+       ret i32 %div
----------------
This is overly indented


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130543/new/

https://reviews.llvm.org/D130543



More information about the llvm-commits mailing list