We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad7944 commit 082b789Copy full SHA for 082b789
mlir/test/Target/LLVMIR/unsafe-fp-math.mlir
@@ -0,0 +1,8 @@
1
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
2
+
3
+// CHECK-LABEL: define void @unsafe_fp_math_func()
4
+// CHECK-SAME: #[[ATTRS:[0-9]+]]
5
+llvm.func @unsafe_fp_math_func() attributes {unsafe_fp_math = true} {
6
+ llvm.return
7
+}
8
+// CHECK: attributes #[[ATTRS]] = { "unsafe-fp-math"="true" }
0 commit comments