llvm/test/CodeGen/AArch64/compiler-ident.ll
Chad Rosier 0db9526c1a [AArch64] Emit .ident compiler version attribute.
Patch by Ana Pazos<apazos@codeaurora.org>!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210535 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-10 14:32:08 +00:00

13 lines
295 B
LLVM

; RUN: llc -o - %s -mtriple=aarch64-linux-gnu | FileCheck %s
; ModuleID = 'compiler-ident.c'
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
target triple = "aarch64--linux-gnu"
; CHECK: .ident "some LLVM version"
!llvm.ident = !{!0}
!0 = metadata !{metadata !"some LLVM version"}