[llvm] [AMDGPU] Add insert/extract element test for v4i32 (PR #79384)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 07:27:32 PST 2024


================
@@ -0,0 +1,218 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
+; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx90a -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX90a %s
+; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx940 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX940 %s
+; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx1030 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX1030 %s
+; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX1100 %s
+
----------------
arsenm wrote:

It's still not really a test of this. If it's going to be standalone should name it something relevant to the problem you were looking for 

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


More information about the llvm-commits mailing list