[all-commits] [llvm/llvm-project] aa63eb: GlobalISel: Add computeKnownBitsForTargetInstr

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 23 12:02:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa63eb6a461dcfd9cd3f1c09de36e75e8394634f
      https://github.com/llvm/llvm-project/commit/aa63eb6a461dcfd9cd3f1c09de36e75e8394634f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  GlobalISel: Add computeKnownBitsForTargetInstr

I think we can save the MRI argument from these since it's in
GISelKnownBits already, but currently not accessible.

Implementation deferred to avoid dependency on other patches.


  Commit: 58f843a5b3d672f703c91af92cb2fd805f09ccbc
      https://github.com/llvm/llvm-project/commit/58f843a5b3d672f703c91af92cb2fd805f09ccbc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
    M llvm/unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelMITest.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelMITest.h
    M llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
    M llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
    M llvm/unittests/CodeGen/GlobalISel/LegalizerTest.cpp
    M llvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
    M llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp

  Log Message:
  -----------
  GlobalISel: Prepare to allow other target unit tests

Currently all GlobalISel unittests use a hardcoded AArch64 target
machine. Factor this so I can write some for AMDGPU specific known
bits unittests.


  Commit: 2ad5fc1d9154807f7fe287139839099438fd54d4
      https://github.com/llvm/llvm-project/commit/2ad5fc1d9154807f7fe287139839099438fd54d4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/unittests/CodeGen/GlobalISel/GISelMITest.cpp
    M llvm/unittests/CodeGen/GlobalISel/GISelMITest.h
    M llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp

  Log Message:
  -----------
  AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr


Compare: https://github.com/llvm/llvm-project/compare/328b72dd8209...2ad5fc1d9154


More information about the All-commits mailing list