HomePhabricator

[AMDGPU] Translate s_and/s_andn2 to s_mov in vcc optimisation

Authored by critson on Jul 16 2020, 7:12 PM.

Description

[AMDGPU] Translate s_and/s_andn2 to s_mov in vcc optimisation

When SCC is dead, but VCC is required then replace s_and / s_andn2
with s_mov into VCC when mask value is 0 or -1.

Reviewed By: rampitec

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

Details

Committed
critsonJul 16 2020, 7:48 PM
Reviewer
rampitec
Differential Revision
D83850: [AMDGPU] Translate s_and/s_andn2 to s_mov in vcc optimisation
Parents
rGb128f719a4c8: [profile] Disable new failing test from D83967
Branches
Unknown
Tags
Unknown