mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
6dec58dd68
Mostsly these would fail due to trying to use SI with a flat operation. Implementing global loads with MUBUF is more work than flat, so these won't be handled in the initial load selection. Others fail because store of s64 won't initially work, as the current set of patterns expect everything to be turned into v2i32. llvm-svn: 365493
22 lines
493 B
YAML
22 lines
493 B
YAML
# RUN: llc -march=amdgcn -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck %s -check-prefixes=GCN
|
|
|
|
---
|
|
|
|
name: bitcast
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
|
|
# GCN-LABEL: name: bitcast
|
|
# GCN: [[A:%[0-9]+]]:vgpr_32 = COPY $vgpr0
|
|
# GCN: S_ENDPGM 0, implicit [[A]]
|
|
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0
|
|
%0:vgpr(s32) = COPY $vgpr0
|
|
%1:vgpr(<2 x s16>) = G_BITCAST %0
|
|
%2:vgpr(s32) = G_BITCAST %1
|
|
S_ENDPGM 0, implicit %2
|
|
...
|