[Clang] Make OpenMP offloading consistently use the bound architecture (#125135)
[llvm-project.git] / flang / test / Lower / target-features-x86_64.f90
blob282c47923808de492046b834cd4b8bc94660c3bf
1 ! REQUIRES: x86-registered-target
2 ! RUN: %flang_fc1 -emit-fir -triple x86_64-unknown-linux-gnu -target-cpu x86-64 %s -o - | FileCheck %s --check-prefixes=ALL,CPU
3 ! RUN: %flang_fc1 -emit-fir -triple x86_64-unknown-linux-gnu -target-feature +sse %s -o - | FileCheck %s --check-prefixes=ALL,FEATURE
4 ! RUN: %flang_fc1 -emit-fir -triple x86_64-unknown-linux-gnu -target-cpu x86-64 -target-feature +sse %s -o - | FileCheck %s --check-prefixes=ALL,BOTH
6 ! ALL: module attributes {
8 ! CPU-SAME: fir.target_cpu = "x86-64"
10 ! FEATURE-SAME: fir.target_features = #llvm.target_features<[
11 ! FEATURE-SAME: "+sse"
12 ! FEATURE-SAME: ]>
14 ! BOTH-SAME: fir.target_cpu = "x86-64"
15 ! BOTH-SAME: fir.target_features = #llvm.target_features<[
16 ! BOTH-SAME: "+sse"
17 ! BOTH-SAME: ]>