1 ; REQUIRES: x86-registered-target
3 ; RUN: opt %s -S | FileCheck --check-prefix=CHECK-FILE %s
4 ; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
5 ; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t
7 ; CHECK-INTERESTINGNESS: declare
10 ; CHECK-FILE: source_filename
11 ; CHECK-FILE: datalayout
13 ; CHECK-FILE: module asm
14 ; CHECK-FILE: declare void @g
16 ; CHECK-FINAL-NOT: ModuleID
17 ; CHECK-FINAL-NOT: source_filename
18 ; CHECK-FINAL: datalayout
20 ; CHECK-FINAL-NOT: module asm
21 ; CHECK-FINAL: declare void @g
23 source_filename = "/tmp/a.cc"
24 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
25 target triple = "x86_64-unknown-linux-gnu"