[PATCH] D156449: [LLVM][Transforms]

Panagiotis K via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 09:06:03 PDT 2023


karouzakisp created this revision.
karouzakisp added reviewers: spatel, mkazantsev.
karouzakisp added a project: LLVM.
Herald added subscribers: ormris, StephenFan, luismarques, s.egerton, asbirlea, PkmX, steven_wu, simoncook, hiraditya, arichardson.
Herald added a project: All.
karouzakisp requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.

Added zext flag for the target RISC-V,
in the passes that convert sext to zext because for RISC-V sext is always cheaper than zext.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156449

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
  llvm/lib/Transforms/Scalar/BDCE.cpp
  llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/test/Transforms/BDCE/sext_multi_uses.ll
  llvm/test/Transforms/CorrelatedValuePropagation/cond-at-use.ll
  llvm/test/Transforms/CorrelatedValuePropagation/sext.ll
  llvm/test/Transforms/InstCombine/adjust-for-minmax.ll
  llvm/test/Transforms/InstCombine/cast-mul-select.ll
  llvm/test/Transforms/InstCombine/gep-sext.ll
  llvm/test/Transforms/InstCombine/icmp-ext-ext.ll
  llvm/test/Transforms/InstCombine/load-cmp.ll
  llvm/test/Transforms/InstCombine/lshr.ll
  llvm/test/Transforms/InstCombine/memcpy-from-global.ll
  llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
  llvm/test/Transforms/InstCombine/mul-inseltpoison.ll
  llvm/test/Transforms/InstCombine/mul.ll
  llvm/test/Transforms/InstCombine/narrow-math.ll
  llvm/test/Transforms/InstCombine/select_meta.ll
  llvm/test/Transforms/InstCombine/sext.ll
  llvm/test/Transforms/InstCombine/shift-by-signext.ll
  llvm/test/Transforms/InstCombine/udiv-simplify.ll
  llvm/test/Transforms/InstCombine/wcslen-1.ll
  llvm/test/Transforms/InstCombine/wcslen-3.ll
  llvm/test/Transforms/LoopVectorize/induction.ll
  llvm/test/Transforms/PhaseOrdering/lto-licm.ll
  llvm/test/Transforms/SCCP/ip-ranges-casts.ll
  llvm/test/Transforms/SCCP/ip-ranges-sext.ll
  llvm/test/Transforms/SCCP/ranges-sext.ll
  llvm/test/Transforms/SCCP/widening.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156449.544802.patch
Type: text/x-patch
Size: 101066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/9089c084/attachment-0001.bin>


More information about the llvm-commits mailing list