brintos

brintos / llvm-project-archived public Read only

0
0
Text · 727 B · fb12b2a Raw
24 lines · plain
1# RUN: llc -mtriple=amdgcn -mcpu=hawaii -run-pass=none -o - %s | FileCheck -check-prefix=MCPU %s2# RUN: llc -mtriple=amdgcn -mattr=+unaligned-access-mode -run-pass=none -o - %s | FileCheck -check-prefix=MATTR %s3 4# The command line arguments for -mcpu and -mattr should manifest themselves by adding the corresponding attributes to the stub IR function.5 6# MCPU: attributes #0 = { "target-cpu"="hawaii" }7# MATTR: attributes #0 = { "target-features"="+unaligned-access-mode" }8 9---10name: no_ir11legalized: true12regBankSelected: true13tracksRegLiveness: true14 15body: |16  bb.0:17    liveins: $sgpr0, $sgpr118 19    %0:sgpr(s32) = COPY $sgpr020    %1:sgpr(s32) = COPY $sgpr121    %2:vgpr(s32) = G_OR %0, %122    S_ENDPGM 0, implicit %223...24