[all-commits] [llvm/llvm-project] ca268e: [ConstraintElimination] Decompose zext for unsigne...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Feb 7 12:53:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca268ed28520cbe05e5a9f006cb7b615301a4aa1
      https://github.com/llvm/llvm-project/commit/ca268ed28520cbe05e5a9f006cb7b615301a4aa1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-02-07 (Sun, 07 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
    M llvm/test/Transforms/ConstraintElimination/zext.ll

  Log Message:
  -----------
  [ConstraintElimination] Decompose zext for unsigned compares.

For unsigned compares, zext should be a no-op and we can add the
extended value to the constraint system.




More information about the All-commits mailing list