[PATCH] D156449: [LLVM][Transforms] Zext flag in various optimization passes for RISC-V

Panagiotis K via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 13:45:03 PDT 2023


karouzakisp updated this revision to Diff 554032.
karouzakisp marked 3 inline comments as done.
karouzakisp added a comment.
Herald added a subscriber: sunshaoce.

Removed some redudant and inappropriate settings of the flag in the Transforms. Also updated the transforms calling method name from setWasSext to setNonNeg to set the flag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156449

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/test/Assembler/flags.ll
  llvm/test/Bitcode/flags.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/icmp-ext-ext.ll
  llvm/test/Transforms/InstCombine/memcpy-from-global.ll
  llvm/test/Transforms/InstCombine/minmax-intrinsics.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/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.554032.patch
Type: text/x-patch
Size: 80522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230828/1029b777/attachment.bin>


More information about the llvm-commits mailing list