brintos

brintos / llvm-project-archived public Read only

0
0
Text · 897 B · 382230d Raw
23 lines · plain
1! REQUIRES: amdgpu-registered-target2! RUN: %flang_fc1 -emit-fir -triple amdgcn-amd-amdhsa -target-cpu gfx90a %s -o - | FileCheck %s --check-prefixes=ALL,CPU3! RUN: %flang_fc1 -emit-fir -triple amdgcn-amd-amdhsa -target-feature +sse %s -o - | FileCheck %s --check-prefixes=ALL,FEATURE4! RUN: %flang_fc1 -emit-fir -triple amdgcn-amd-amdhsa -target-cpu gfx90a -target-feature +sse %s -o - | FileCheck %s --check-prefixes=ALL,BOTH5 6! ALL: module attributes {7 8! CPU-SAME: fir.target_cpu = "gfx90a"9! CPU-SAME: fir.target_features = #llvm.target_features<[10! CPU-SAME: "+gfx90a-insts"11! CPU-SAME: ]>12 13! FEATURE-SAME: fir.target_features = #llvm.target_features<[14! FEATURE-NOT:  "+gfx90a-insts"15! FEATURE-SAME: "+sse"16! FEATURE-SAME: ]>17 18! BOTH-SAME: fir.target_cpu = "gfx90a"19! BOTH-SAME: fir.target_features = #llvm.target_features<[20! BOTH-SAME: "+gfx90a-insts"21! BOTH-SAME: "+sse"22! BOTH-SAME: ]>23