1; REQUIRES: x86-registered-target 2 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 6 7; CHECK-INTERESTINGNESS: declare 8 9; CHECK-FILE: ModuleID 10; CHECK-FILE: source_filename 11; CHECK-FILE: datalayout 12; CHECK-FILE: triple 13; CHECK-FILE: module asm 14; CHECK-FILE: declare void @g 15 16; CHECK-FINAL-NOT: ModuleID 17; CHECK-FINAL-NOT: source_filename 18; CHECK-FINAL: datalayout 19; CHECK-FINAL: triple 20; CHECK-FINAL-NOT: module asm 21; CHECK-FINAL: declare void @g 22 23source_filename = "/tmp/a.cc" 24target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 25target triple = "x86_64-unknown-linux-gnu" 26module asm "foo" 27 28declare void @g() 29