[all-commits] [llvm/llvm-project] adb52e: [InstCombine] foldOrOfICmps - only fold (icmp_eq B...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 19 09:06:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: adb52e5f9e66e726a8175bb0025ed3553cc1534e
      https://github.com/llvm/llvm-project/commit/adb52e5f9e66e726a8175bb0025ed3553cc1534e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] foldOrOfICmps - only fold (icmp_eq B, 0) | (icmp_ult/gt A, B) for integer types

Fixes a number of stage2 buildbots that were failing when I generalized the m_ConstantInt() logic - that didn't match for pointer types but m_Zero() does......




More information about the All-commits mailing list