bolt/deps/llvm-18.1.8/mlir/test/Target/LLVMIR/target-features.mlir
2025-02-14 19:21:04 +01:00

9 lines
317 B
MLIR

// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
// CHECK-LABEL: define void @target_features
// CHECK: attributes #{{.*}} = { "target-features"="+sme,+sve,+sme-f64f64" }
llvm.func @target_features() attributes {
target_features = #llvm.target_features<["+sme", "+sve", "+sme-f64f64"]>
} {
llvm.return
}