[all-commits] [llvm/llvm-project] 26fb03: [GlobalISel] Implement computeNumSignBits for G_AS...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Feb 17 13:54:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26fb036559d05b601a585c751177d6ec367fb65b
      https://github.com/llvm/llvm-project/commit/26fb036559d05b601a585c751177d6ec367fb65b
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  [GlobalISel] Implement computeNumSignBits for G_ASSERT_SEXT

Same implementation as G_SEXT_INREG.

Add a testcase to combine-sext-inreg for a concrete example, and a testcase
to KnownBitsTest.

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




More information about the All-commits mailing list