[all-commits] [llvm/llvm-project] f33633: [AMDGPU] adding test for partially masked operands

Jessica Del via All-commits all-commits at lists.llvm.org
Tue Jan 10 02:06:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f33633f512438164ef994ec1effacfc6ce474866
      https://github.com/llvm/llvm-project/commit/f33633f512438164ef994ec1effacfc6ce474866
  Author: Jessica Del <Jessica.Del at amd.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/mul-known-bits.i64.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list