summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/asan-check-memaccess-or.ll
blob: 887650bcc826af75c175d19d9fa3689976574d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
; XFAIL: *
; RUN: llc < %s

target triple = "x86_64-pc-win"

define void @load1(ptr nocapture readonly %x) {
  call void @llvm.asan.check.memaccess(ptr %x, i32 0)
  ret void
}

declare void @llvm.asan.check.memaccess(ptr, i32 immarg)