[llvm-branch-commits] [llvm] [AMDGPU][True16] Add legalization/selection handling for G_MERGE_VALUES of 2 s16 -> s32 (PR #200082)
Petar Avramovic via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 29 00:23:02 PDT 2026
================
@@ -1,10 +1,8 @@
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: not llc -global-isel -new-reg-bank-select -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1100 -run-pass=instruction-select -mattr=+real-true16 %s 2>&1 | FileCheck -check-prefix=GFX11-ERR %s
-# GFX11-ERR: LLVM ERROR: cannot select: %4:sreg_32(s32) = G_MERGE_VALUES %2:sreg_32(s16), %3:sreg_32(s16) (in function: test_merge_s16_into_s32_sgpr)
+# RUN: llc -global-isel -new-reg-bank-select -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1100 -run-pass=instruction-select -mattr=+real-true16 -o - %s | FileCheck -check-prefix=GFX11 %s
----------------
petar-avramovic wrote:
-global-isel -new-reg-bank-select are unused for run-pass
```suggestion
# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx1100 -run-pass=instruction-select -mattr=+real-true16 -o - %s | FileCheck -check-prefix=GFX11 %s
```
https://github.com/llvm/llvm-project/pull/200082
More information about the llvm-branch-commits
mailing list