[PATCH] D72038: [PowerPC] Handle constant zero bits in BitPermutationSelector

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 11:45:51 PST 2019


nemanjai created this revision.
nemanjai added reviewers: hfinkel, cuviper, PowerPC.
Herald added subscribers: shchenz, jsji, kbarton, hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72038

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/test/CodeGen/PowerPC/pr41088.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72038.235722.patch
Type: text/x-patch
Size: 7713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191231/fa29f355/attachment.bin>


More information about the llvm-commits mailing list