HomePhabricator

[PowerPC] Handle constant zero bits in BitPermutationSelector

Authored by nemanjai on Jan 10 2020, 7:55 AM.

Description

[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

Details

Committed
nemanjaiJan 10 2020, 7:55 AM
Differential Revision
D72038: [PowerPC] Handle constant zero bits in BitPermutationSelector
Parents
rGcdd05f2aea3b: [NFC] format unittest for ExprMutAnalyzer
Branches
Unknown
Tags
Unknown