[all-commits] [llvm/llvm-project] 1b2019: GlobalISel: Combine out redundant sext_inreg

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Aug 28 14:57:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b201914b5a481b17a85dacc3cb675a35a9a7b97
      https://github.com/llvm/llvm-project/commit/1b201914b5a481b17a85dacc3cb675a35a9a7b97
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/combine-sext-inreg.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll

  Log Message:
  -----------
  GlobalISel: Combine out redundant sext_inreg

The scalar tests don't work yet, since computeNumSignBits apparently
doesn't handle sextload yet, and sext folds into the load first.




More information about the All-commits mailing list