[all-commits] [llvm/llvm-project] 7c1b80: [ConstraintElim] Support unsigned decomposition of...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Oct 15 13:28:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c1b80e35c4a08ff3e0ddaca39a1e6c13b2ecc12
      https://github.com/llvm/llvm-project/commit/7c1b80e35c4a08ff3e0ddaca39a1e6c13b2ecc12
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-15 (Sat, 15 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/mul.ll
    M llvm/test/Transforms/ConstraintElimination/shl.ll

  Log Message:
  -----------
  [ConstraintElim] Support unsigned decomposition of mul/shl nuw..const

Support decomposition for `mul/shl nuw` with constant operand for unsigned
queries. Those expressions should not wrap in the unsigned sense and can
be added directly to the unsigned system.




More information about the All-commits mailing list