[Mlir-commits] [mlir] [MLIR] Adding 'inline_hint' attribute on LLMV::CallOp (PR #134582)
Tobias Gysi
llvmlistbot at llvm.org
Sun Apr 6 23:19:38 PDT 2025
================
@@ -2649,6 +2649,21 @@ llvm.func @always_inline_call() {
// CHECK: #[[ATTRS]]
// CHECK-SAME: alwaysinline
+// -----
+
+llvm.func @f()
+
+// CHECK-LABEL: @inline_hint_call
+// CHECK: call void @f() #[[ATTRS:[0-9]+]]
+llvm.func @inline_hint_call() {
+ llvm.call @f() {inline_hint} : () -> ()
+ llvm.return
+}
+
+// CHECK: #[[ATTRS]]
+// CHECK-SAME: inlinehint
+
+
----------------
gysit wrote:
```suggestion
```
nit: drop extra newline
https://github.com/llvm/llvm-project/pull/134582
More information about the Mlir-commits
mailing list