[Mlir-commits] [clang] [llvm] [mlir] [IR] Explicitly specify target feature for module asm (PR #204548)
Nikita Popov
llvmlistbot at llvm.org
Mon Jun 22 03:42:39 PDT 2026
================
@@ -0,0 +1,12 @@
+; RUN: llc -mtriple=riscv64-unknown-linux-gnu < %s | FileCheck %s
+
+; This should work fine, because the module asm specifies the necessary
+; target features
+
+; CHECK: fld ft0, 0(sp)
----------------
nikic wrote:
I've added support for emitting the necessary directives on RISCV now. Other architectures can fix this at the same time as fixing the function target-features issue, as the mechanism is the same.
https://github.com/llvm/llvm-project/pull/204548
More information about the Mlir-commits
mailing list