[llvm] [AMDGPU] Skip IEEE/DX10Clamp inline compatibility check on targets without them (PR #228389)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 04:16:07 PDT 2026


================
@@ -1,4 +1,5 @@
-; RUN: opt -mtriple=amdgpu-amd-amdhsa -mattr=+dx10-clamp-and-ieee-mode -S -passes=inline < %s | FileCheck %s
+; RUN: opt -mtriple=amdgpu-amd-amdhsa -mattr=+dx10-clamp-and-ieee-mode -S -passes=inline < %s | FileCheck --check-prefixes=CHECK,MODE %s
+; RUN: opt -mtriple=amdgpu-amd-amdhsa -mcpu=gfx1200 -S -passes=inline < %s | FileCheck --check-prefixes=CHECK,NOMODE %s
----------------
arsenm wrote:

Old triples 

https://github.com/llvm/llvm-project/pull/228389


More information about the llvm-commits mailing list