Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / tools / gold / X86 / linker-script.ll
1 ; RUN: llvm-as %s -o %t.o
2
3 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
4 ; RUN:    --plugin-opt=emit-llvm \
5 ; RUN:    -shared %t.o -o %t2.o \
6 ; RUN:    -version-script=%p/Inputs/linker-script.export
7 ; RUN: llvm-dis %t2.o -o - | FileCheck %s
8
9 ; CHECK: define void @f()
10 define void @f() {
11   ret void
12 }
13
14 ; CHECK: define internal void @g()
15 define void @g() {
16   ret void
17 }