[all-commits] [llvm/llvm-project] 0b92e7: Revert "[AMDGPU] Always lower s/udiv64 by constant...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Aug 2 14:43:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b92e70dfb7a3b49c24157d0a1b93d127f622683
      https://github.com/llvm/llvm-project/commit/0b92e70dfb7a3b49c24157d0a1b93d127f622683
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
    R llvm/test/CodeGen/AMDGPU/div-rem-by-constant-64.ll
    M llvm/test/CodeGen/AMDGPU/fshr.ll
    M llvm/test/CodeGen/AMDGPU/udiv.ll
    M llvm/test/CodeGen/AMDGPU/udiv64.ll
    M llvm/test/CodeGen/AMDGPU/urem64.ll

  Log Message:
  -----------
  Revert "[AMDGPU] Always lower s/udiv64 by constant to MUL (#100723)"

This reverts commit 92fbc963a51683d32f70d0c7f3783bb13983f08d.

The patch also affected ARM and caused an assertion failure during
CurDAG->Legalize
(https://github.com/llvm/llvm-project/pull/100723#issuecomment-2266154211).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list