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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Feb 5 05:39:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5d206df792b61a0b6c5ac44343a97696fc6071d
      https://github.com/llvm/llvm-project/commit/a5d206df792b61a0b6c5ac44343a97696fc6071d
  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




More information about the All-commits mailing list