Files
llvm/test/CodeGen/PowerPC
Hiroshi Inoue 706d3da44f [PowerPC] avoid masking already-zero bits in BitPermutationSelector
The current BitPermutationSelector generates a code to build a value by tracking two types of bits: ConstZero and Variable.
ConstZero means a bit we need to mask off and Variable is a bit we copy from an input value.

This patch add third type of bits VariableKnownToBeZero caused by AssertZext node or zero-extending load node.
VariableKnownToBeZero means a bit comes from an input value, but it is known to be already zero. So we do not need to mask them.
VariableKnownToBeZero enhances flexibility to group bits, since we can avoid redundant masking for these bits.

This patch also renames "HasZero" to "NeedMask" since now we may skip masking even when we have zeros (of type VariableKnownToBeZero).

Differential Revision: https://reviews.llvm.org/D48025



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344347 91177308-0d34-0410-b5e6-96231b3b80d8
2018-10-12 14:02:20 +00:00
..
2018-09-07 07:56:05 +00:00
2017-11-06 19:09:38 +00:00
2016-02-29 16:42:27 +00:00
2017-10-10 08:46:10 +00:00
2017-01-22 20:28:56 +00:00
2018-08-27 13:20:42 +00:00
2018-08-27 13:20:42 +00:00