HomePhabricator

[SelectionDAG] Lower @llvm.get.active.lane.mask to setcc

Authored by SjoerdMeijer on Jun 25 2020, 11:46 PM.

Description

[SelectionDAG] Lower @llvm.get.active.lane.mask to setcc

This lowers intrinsic @llvm.get.active.lane.mask to a setcc node, i.e. an icmp
ule, and creates vectors for its 2 arguments on which the comparison is
performed.

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