1 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=none -o - %s | FileCheck -check-prefix=MCPU %s
2 # RUN: llc -march=amdgcn -mattr=+unaligned-access-mode -run-pass=none -o - %s | FileCheck -check-prefix=MATTR %s
4 # The command line arguments for -mcpu and -mattr should manifest themselves by adding the corresponding attributes to the stub IR function.
6 # MCPU: attributes #0 = { "target-cpu"="hawaii" }
7 # MATTR: attributes #0 = { "target-features"="+unaligned-access-mode" }
13 tracksRegLiveness: true
17 liveins: $sgpr0, $sgpr1
19 %0:sgpr(s32) = COPY $sgpr0
20 %1:sgpr(s32) = COPY $sgpr1
21 %2:vgpr(s32) = G_OR %0, %1
22 S_ENDPGM 0, implicit %2