[all-commits] [llvm/llvm-project] 38d450: AMDGPU: Fix selection failure on fast vector rootn...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 9 03:23:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38d4509caa6536f184ccc9dd29721133b7c2a810
      https://github.com/llvm/llvm-project/commit/38d4509caa6536f184ccc9dd29721133b7c2a810
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn-codegen.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll

  Log Message:
  -----------
  AMDGPU: Fix selection failure on fast vector rootn (#185035)

This was emitting the raw rcp intrinsic, which will fail for any
vector type. This is an afn context anyway, so just emit fdiv
which will select to rcp but also will undergo type legalization.



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