HomePhabricator

GlobalISel: Work on improving stock set of legality predicates

Authored by arsenm on May 23 2020, 3:28 PM.

Description

GlobalISel: Work on improving stock set of legality predicates

I get confused by a lot of the predicate names here, since I would
assume they apply to vectors as well. Rename to reflect they only
apply to scalars.

Also add a few predicates AMDGPU uses that should be generally useful.
Also add any() to complement all. I've wanted to use this a few times
but then worked around it not being there.

Details

Committed
arsenmMay 28 2020, 5:28 PM
Parents
rG8c050070fb96: [X86] Fix a nullptr dereference in X86Subtarget::classifyLocalReference when…
Branches
Unknown
Tags
Unknown