[all-commits] [llvm/llvm-project] f36007: [GlobalISel] Implement computeKnownBits for G_SEXT...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Tue Jan 26 15:08:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f36007e8110174ea10294f6fa546f3c64f0e548a
      https://github.com/llvm/llvm-project/commit/f36007e8110174ea10294f6fa546f3c64f0e548a
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-redundant-and.mir
    M llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp

  Log Message:
  -----------
  [GlobalISel] Implement computeKnownBits for G_SEXT_INREG

Just use the existing `Known.sextInReg` implementation.

- Update KnownBitsTest.cpp.
- Update combine-redundant-and.mir for a more concrete example.

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




More information about the All-commits mailing list