Skip to content

Commit 082b789

Browse files
committed
Add missed test
1 parent 6ad7944 commit 082b789

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)