[all-commits] [llvm/llvm-project] 9ee7d7: [ConstantFolding] fold integer min/max intrinsics

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jul 29 08:01:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ee7d7122c067d929667e65cc11f600e4592cd8a
      https://github.com/llvm/llvm-project/commit/9ee7d7122c067d929667e65cc11f600e4592cd8a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Analysis/ConstantFolding/min-max.ll

  Log Message:
  -----------
  [ConstantFolding] fold integer min/max intrinsics

If both operands are undef, return undef.
If one operand is undef, clamp to limit constant.




More information about the All-commits mailing list