[all-commits] [llvm/llvm-project] d17d32: [LLVM][ConstProp] Enable intrinsic simplifications...

Paul Walker via All-commits all-commits at lists.llvm.org
Fri Oct 17 05:43:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d17d32a6cb6d477becc528c94f01aa883101da92
      https://github.com/llvm/llvm-project/commit/d17d32a6cb6d477becc528c94f01aa883101da92
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/any_all_true.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/bitcount.ll
    A llvm/test/Transforms/InstSimplify/ConstProp/bitreverse.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/bswap.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll

  Log Message:
  -----------
  [LLVM][ConstProp] Enable intrinsic simplifications for vector ConstantInt based operands. (#159358)

Simplifcation of vector.reduce intrinsics are prevented by an early
bailout for ConstantInt base operands. This PR removes the bailout and
updates the tests to show matching output when
-use-constant-int-for-*-splat is used.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list