Home | History | Annotate | Download | only in X86
      1 ; Tests whether the cache is sensitive to the prevailing bit.
      2 ; RUN: rm -rf %t.cache
      3 ; RUN: opt -module-hash -module-summary -o %t.bc %s
      4 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \
      5 ; RUN:   -r %t.bc,foo,p -r %t.bc,bar,px
      6 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache \
      7 ; RUN:   -r %t.bc,foo, -r %t.bc,bar,px
      8 ; RUN: ls %t.cache | count 2
      9 
     10 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
     11 target triple = "x86_64-pc-windows-msvc19.11.0"
     12 
     13 @foo = linkonce_odr constant i32 1, comdat
     14 $foo = comdat any
     15 
     16 define i32* @bar() {
     17   ret i32* @foo
     18 }
     19