Files
clang-p2996/llvm/test/CodeGen/X86/pr14333.ll
Nikita Popov 2f448bf509 [X86] Migrate tests to use opaque pointers (NFC)
Test updates were performed using:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34

These are only the test updates where the test passed without
further modification (which is almost all of them, as the backend
is largely pointer-type agnostic).
2022-06-22 14:38:25 +02:00

11 lines
388 B
LLVM

; RUN: llc -mtriple=x86_64-unknown-unknown < %s
%foo = type { i64, i64 }
define void @bar(ptr %zed) {
store i64 0, ptr %zed, align 8
%tmp2 = getelementptr inbounds %foo, ptr %zed, i64 0, i32 1
store i64 0, ptr %tmp2, align 8
call void @llvm.memset.p0.i64(ptr align 8 %zed, i8 0, i64 16, i1 false)
ret void
}
declare void @llvm.memset.p0.i64(ptr nocapture, i8, i64, i1) nounwind