[llvm] [AMDGPU][True16] Upstream more true16-related testing changes (NFC) (PR #208320)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 02:11:34 PDT 2026
================
@@ -0,0 +1,413 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=fiji -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefixes=VI %s
+; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=gfx1010 -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX10 %s
+; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=gfx1100 -mattr=+real-true16 -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GFX11-TRUE16 %s
+; RUN: llc -amdgpu-scalarize-global-loads=false -march=amdgcn -mcpu=gfx1100 -mattr=-real-true16 -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GFX11-FAKE16 %s
+
+declare half @llvm.amdgcn.ldexp.f16(half %a, i32 %b)
----------------
arsenm wrote:
There's no reason to use the target ldexp intrinsic. We should actually remove it and auto upgrade to the generic intrinsic. All testing should be done on the generic one
https://github.com/llvm/llvm-project/pull/208320
More information about the llvm-commits
mailing list