[AMDGPU] Make some VOP1 instructions rematerializable
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 9 Jul 2021 21:05:57 +0000 (14:05 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 13 Jul 2021 06:43:45 +0000 (23:43 -0700)
commitd46d534dbbba484fb17f0f4e1a56c357aad4458f
tree4835d8f773369da46f1cf53775a23322fd3b18bf
parent6fd9c1901f40c1e9beceff67e05570afe2914e65
[AMDGPU] Make some VOP1 instructions rematerializable

This is a pilot change to verify the logic. The rest will be
done in a same way, at least the rest of VOP1.

Differential Revision: https://reviews.llvm.org/D105742
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/VOP1Instructions.td
llvm/test/CodeGen/AMDGPU/remat-vop.mir