[AMDGPU] adding test for partially masked operands
authorJessica Del <Jessica.Del@amd.com>
Tue, 10 Jan 2023 10:05:00 +0000 (11:05 +0100)
committerJessica Del <Jessica.Del@amd.com>
Tue, 10 Jan 2023 10:05:52 +0000 (11:05 +0100)
commitf33633f512438164ef994ec1effacfc6ce474866
tree71f3981d5aaa9309f14a58acd7e7541f7bd28286
parent879bfe6a979295f834b76df66b19a203b93eed0f
[AMDGPU] adding test for partially masked operands

This test is testing whether the compiler behaves correctly when only
parts of an operand are masked.
In this case, no optimization is supposed to happen, since neither
the upper nor the lower half is
fully masked. Therefore, none
of the halves can be known to be zero.
The result is a regular multiplication.
llvm/test/CodeGen/AMDGPU/GlobalISel/mul-known-bits.i64.ll