[all-commits] [llvm/llvm-project] c072ff: AMDGPU: Set max supported div/rem size to 64 (#80669)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Feb 5 15:30:07 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c072ff2c5f8057a1c8ebfdaf44719b75ab9439ee
      https://github.com/llvm/llvm-project/commit/c072ff2c5f8057a1c8ebfdaf44719b75ab9439ee
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/div_i128.ll
    A llvm/test/CodeGen/AMDGPU/div_v2i128.ll

  Log Message:
  -----------
  AMDGPU: Set max supported div/rem size to 64 (#80669)

This enables IR expansion for i128 divisions. The vector case is still
broken because ExpandLargeDivRem doesn't try to handle them.

Fixes: SWDEV-426193
(cherry picked from commit a5d206df792b61a0b6c5ac44343a97696fc6071d)




More information about the All-commits mailing list