[PATCH] D130839: [DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 08:28:10 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll:667
+; RV32MV-NEXT:    vsetivli zero, 5, e32, m2, tu, mu
+; RV32MV-NEXT:    vslideup.vi v14, v10, 4
 ; RV32MV-NEXT:    vsetivli zero, 4, e64, m2, ta, mu
----------------
@craig.topper I'm assuming this amount of code isn't an improvement just because we avoided a load?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130839



More information about the llvm-commits mailing list