[all-commits] [llvm/llvm-project] 3f100e: [InstSimplify] fix fmin/fmax miscompile for partia...

RotateRight via All-commits all-commits at lists.llvm.org
Fri Sep 18 07:06:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f100e64b429b6468e9a2c5b3e7ef7757a06dc48
      https://github.com/llvm/llvm-project/commit/3f100e64b429b6468e9a2c5b3e7ef7757a06dc48
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/fminmax-folds.ll

  Log Message:
  -----------
  [InstSimplify] fix fmin/fmax miscompile for partial undef vectors (PR47567)

It would also be correct to return the variable operand in these cases,
but eliminating a variable use is probably better for optimization.




More information about the All-commits mailing list