[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-reduce / remove-module-data.ll
blobaeb1312f6f84b788ebd8cfd3c0ffe432c6055ca1
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
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
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
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"
26 module asm "foo"
28 declare void @g()