Files
clang-p2996/mlir/test/Target/LLVMIR/Import/ident.ll
Tarun Prabhu 90aac06c7f [flang][mlir] Add llvm.ident metadata when compiling with flang
This brings the behavior of flang in line with clang which also adds
this metadata unconditionally.

Co-authored-by: Tarun Prabhu <tarun.prabhu@gmail.com>
2024-08-12 11:56:19 -06:00

7 lines
203 B
LLVM

; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
; CHECK: module attributes {
; CHECK-SAME: llvm.ident = "flang version 61.7.4"
!llvm.ident = !{!0}
!0 = !{!"flang version 61.7.4"}