[all-commits] [llvm/llvm-project] d864d9: [PowerPC] Handle constant zero bits in BitPermutat...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Fri Jan 10 07:56:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d864d93496c5fd0cc473953ab825f07e3d4c4e86
      https://github.com/llvm/llvm-project/commit/d864d93496c5fd0cc473953ab825f07e3d4c4e86
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    A llvm/test/CodeGen/PowerPC/pr41088.ll

  Log Message:
  -----------
  [PowerPC] Handle constant zero bits in BitPermutationSelector

We currently crash when analyzing an AssertZExt node that has some bits that are
constant zeros (i.e. as a result of an and with a constant).

This issue was reported in https://bugs.llvm.org/show_bug.cgi?id=41088 and this
patch fixes that.

Differential revision: https://reviews.llvm.org/D72038




More information about the All-commits mailing list