[llvm] [AMDGPU][GlobalISel] Fix BITOP3 selecting B16 opcode for 32-bit vector types (PR #217048)
Chinmay Deshpande via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 10:25:29 PDT 2026
================
@@ -0,0 +1,50 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=amdgpu9.50-- -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
+# RUN: llc -mtriple=amdgpu12.50-- -mattr=-real-true16 -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
+# RUN: llc -mtriple=amdgpu12.50-- -mattr=+real-true16 -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
----------------
chinmaydd wrote:
```suggestion
# RUN: llc -mtriple=amdgpu9.50 -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
# RUN: llc -mtriple=amdgpu12.50 -mattr=-real-true16 -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
# RUN: llc -mtriple=amdgpu12.50 -mattr=+real-true16 -run-pass=instruction-select %s -o - | FileCheck %s -check-prefix=GCN
```
https://github.com/llvm/llvm-project/pull/217048
More information about the llvm-commits
mailing list