Files
clang-p2996/llvm/test/CodeGen/AMDGPU/cmp_shrink.mir
Shoreshen 7c58d6363a [AMDGPU] Add commute for some VOP3 inst (#121326)
add commute for some VOP3 inst, allow commute for both inline constant
operand, adjust tests

Fixes #111205
2025-01-22 11:08:26 +07:00

13 lines
549 B
YAML

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass si-shrink-instructions -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -passes si-shrink-instructions -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
---
name: not_shrink_icmp
body: |
bb.0:
; GCN-LABEL: name: not_shrink_icmp
; GCN: S_CMP_LT_I32 65, 1, implicit-def $scc
S_CMP_GT_I32 1, 65, implicit-def $scc
...