1 ; RUN: opt < %s -dfsan -S | FileCheck %s
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
4 ; CHECK: @__dfsan_arg_tls = external thread_local(initialexec) global [64 x i16]
5 ; CHECK: @__dfsan_retval_tls = external thread_local(initialexec) global i16
8 declare float @llvm.sqrt.f32(float)
12 ; CHECK: store{{.*}}__dfsan_arg_tls
14 ; CHECK: load{{.*}}__dfsan_retval_tls
15 %r = call i32 @f(i32 0)
17 ; CHECK-NOT: store{{.*}}__dfsan_arg_tls
18 %i = call float @llvm.sqrt.f32(float -1.0)
20 ; CHECK: store{{.*}}__dfsan_retval_tls