Debian Codegraph @

flang/test/Lower/tune-cpu-llvm.f90

raw
1 ! RUN: %if x86-registered-target %{ %flang -target x86_64-linux-gnu -mtune=pentium4 -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=ALL,CHECK-X86 %}
2 ! RUN: %if aarch64-registered-target %{ %flang -target aarch64-linux-gnu -mtune=neoverse-n1 -S -emit-llvm %s -o - | FileCheck %s --check-prefixes=ALL,CHECK-ARM %}
3
4 !ALL: attributes #{{[0-9]+}} = {
5 !CHECK-X86-SAME: "tune-cpu"="pentium4"
6 !CHECK-ARM-SAME: "tune-cpu"="neoverse-n1"
7 subroutine a
8 end subroutine a