<commit_before>; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll

%FunTy = type i32(i8 @zext)

declare i16 @(sext) "test"(i16 @sext %arg)      ; Differ only by vararg
declare i16 "test2" (i16 %a1, i16 %a2)

implementation

define i32 %main(i32 %argc, i8 **%argv) {
    %val = trunc i32 %argc to i16
    %res = call i16 @sext (i16 @sext) *%test(i16 %val)
    %two = add i16 %res, %res
    %retVal = sext i16 %two to i32
    ret i32 %retVal
}<commit_msg>Test @zext and @sext fully as well as testing the "short" call syntax.<commit_after>; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll

%ZFunTy = type i32(i8 @zext)
%SFunTy = type i32(i8 @sext)

declare i16 @(sext) "test"(i16 @sext %arg)
declare i8 @zext "test2" (i16 @zext %a2)

implementation

define i32 %main(i32 %argc, i8 **%argv) {
    %val = trunc i32 %argc to i16
    %res = call i16 @sext (i16 @sext) *%test(i16 %val)
    %two = add i16 %res, %res
    %res = call i8 @zext %test2(i16 %two @zext)
    %retVal = sext i16 %two to i32
    ret i32 %retVal
}
{'fraction_non_alphanumeric': 0.16608084358523725, 'fraction_numerical': 0.07996485061511424, 'mean_word_length': 3.1418181818181816, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7361211', 'n_tokens_mistral': 565, 'n_tokens_neox': 527, 'n_words': 163}