mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
b753649d63
This reverts commit r253511. This likely broke the bots in http://lab.llvm.org:8011/builders/clang-ppc64-elf-linux2/builds/20202 http://bb.pgr.jp/builders/clang-3stage-i686-linux/builds/3787 llvm-svn: 253543
13 lines
395 B
LLVM
13 lines
395 B
LLVM
; RUN: llc -mtriple=i386-apple-darwin < %s | not grep memset
|
|
; PR6767
|
|
|
|
define void @t() nounwind ssp {
|
|
entry:
|
|
%buf = alloca [512 x i8], align 1
|
|
%ptr = getelementptr inbounds [512 x i8], [512 x i8]* %buf, i32 0, i32 0
|
|
call void @llvm.memset.p0i8.i32(i8* %ptr, i8 undef, i32 512, i32 1, i1 false)
|
|
unreachable
|
|
}
|
|
|
|
declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) nounwind
|