[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / hsa_isa_version_attrs.s
blobed5b1f27396a02fad456c575ae0b8630f8f5f8ee
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx801 -mattr=-fast-fmaf -show-encoding %s | FileCheck --check-prefix=GFX8 %s
2 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -mattr=-mad-mix-insts,-xnack -show-encoding %s | FileCheck --check-prefix=GFX9 %s
4 .hsa_code_object_isa
5 // GFX8: .hsa_code_object_isa 8,0,1,"AMD","AMDGPU"
6 // GFX9: .hsa_code_object_isa 9,0,0,"AMD","AMDGPU"