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>
7 lines
203 B
LLVM
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"}
|