llvm/test/CodeGen/PowerPC/git_revision.ll
raw| 1 | ; Check that the git revision is contained in the assembly/object files |
| 2 | |
| 3 | ; REQUIRES: vc-rev-enabled |
| 4 | |
| 5 | ; RUN: llc < %s | FileCheck %s -DREVISION=git-revision |
| 6 | ; RUN: llc -filetype=obj < %s | FileCheck %s -DREVISION=git-revision |
| 7 | |
| 8 | ; CHECK: ([[REVISION]]) |
| 9 | |
| 10 | source_filename = "git_revision.cpp" |
| 11 | target datalayout = "E-m:a-Fi64-i64:64-n32:64-S128-v256:256:256-v512:512:512" |
| 12 | target triple = "powerpc64-ibm-aix7.2.0.0" |