[all-commits] [llvm/llvm-project] 19b3b8: AMDGPU/GlobalISel: Fix porting error in 32-bit div...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 10 18:50:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 19b3b886b7645bcfacbcf4f4e57af944484ffb37
      https://github.com/llvm/llvm-project/commit/19b3b886b7645bcfacbcf4f4e57af944484ffb37
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix porting error in 32-bit division

The baffling thing is this passed the OpenCL conformance test for
32-bit integer divisions, but only failed in the 32-bit path of
BypassSlowDivisions for the 64-bit tests.




More information about the All-commits mailing list