[all-commits] [llvm/llvm-project] af4e59: [InstCombine] fix undef propagation for vector ure...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Dec 2 09:56:40 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: af4e59949cc4cc895be76a441a2a867189ee0f55
      https://github.com/llvm/llvm-project/commit/af4e59949cc4cc895be76a441a2a867189ee0f55
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/vector-urem.ll

  Log Message:
  -----------
  [InstCombine] fix undef propagation for vector urem transform (PR44186)

As described here:
https://bugs.llvm.org/show_bug.cgi?id=44186

The match() code safely allows undef values, but we can't safely
propagate a vector constant that contains an undef to the new
compare instruction.




More information about the All-commits mailing list