brintos

brintos / llvm-project-archived public Read only

0
0
Text · 423 B · 950e10a Raw
20 lines · plain
1; Test memcmp with 0 size.2 3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s4 5declare i32 @memcmp(ptr nocapture, ptr nocapture, i64)6 7define hidden void @fun() {8; CHECK-LABEL: fun9entry:10  %len = extractvalue [2 x i64] zeroinitializer, 111  br i1 undef, label %end, label %call12 13call:14  %res = tail call signext i32 @memcmp(ptr noundef undef, ptr noundef undef, i64 noundef %len)15  unreachable16 17end:18  unreachable19}20