Skip to content
Commit d7834556 authored by Petar Avramovic's avatar Petar Avramovic
Browse files

Reland [GlobalISel] Start using vectors in GISelKnownBits

This is recommit of 4c8fb7dd.
MIR in one unit test had mismatched types.

For vectors we consider a bit as known if it is the same for all demanded
vector elements (all elements by default). KnownBits BitWidth for vector
type is size of vector element. Add support for G_BUILD_VECTOR.
This allows combines of urem_pow2_to_mask in pre-legalizer combiner.

Differential Revision: https://reviews.llvm.org/D96122
parent 6b8cf735
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment