Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / Transforms / PartiallyInlineLibCalls / bad-prototype.ll
1 ; RUN: opt -S -partially-inline-libcalls < %s | FileCheck %s
2
3 target triple = "x86_64-unknown-linux-gnu"
4
5 declare i32 @sqrt()
6
7 ; CHECK-LABEL: @foo
8 define i32 @foo() {
9   ; CHECK: call{{.*}}@sqrt
10   ; CHECK-NOT: call{{.*}}@sqrt
11   %r = call i32 @sqrt()
12   ret i32 %r
13 }