HomePhabricator

[AMDGPU] Apply pre-emit s_cbranch_vcc optimation to more patterns

Authored by critson on Jul 14 2020, 6:22 PM.

Description

[AMDGPU] Apply pre-emit s_cbranch_vcc optimation to more patterns

Add handling of s_andn2 and mask of 0.
This eliminates redundant instructions from uniform control flow.

Reviewed By: rampitec

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