FreeBSD Bugzilla – Attachment 235950 Details for
Bug 265756
clang crashes on devel/py-awscrt on amd64 on 14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Much smaller test case for backend
crc-min.ll.txt (text/plain), 3.90 KB, created by
John F. Carr
on 2022-08-16 20:27:37 UTC
(
hide
)
Description:
Much smaller test case for backend
Filename:
MIME Type:
Creator:
John F. Carr
Created:
2022-08-16 20:27:37 UTC
Size:
3.90 KB
patch
obsolete
>; ModuleID = 'crc-min.c' >source_filename = "crc-min.c" >target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" >target triple = "x86_64-unknown-freebsd14.0" > >; Function Attrs: nofree nosync nounwind readnone sspstrong uwtable >define i32 @aws_checksums_crc32c_hw(i8* noundef %input, i32 noundef %previousCrc32) local_unnamed_addr #0 !dbg !9 { >entry: > call void @llvm.dbg.value(metadata i8* %input, metadata !20, metadata !DIExpression()), !dbg !23 > call void @llvm.dbg.value(metadata i32 %previousCrc32, metadata !21, metadata !DIExpression()), !dbg !23 > %neg = xor i32 %previousCrc32, -1, !dbg !24 > call void @llvm.dbg.value(metadata i32 %neg, metadata !22, metadata !DIExpression()), !dbg !23 > %0 = tail call i32 asm "loop_leading_${:uid}: CRC32B ($2), $1", "={cx},{cx},r,0,~{dirflag},~{fpsr},~{flags}"(i32 %neg, i8* %input, i32 %neg) #2, !dbg !25, !srcloc !26 > call void @llvm.dbg.value(metadata i32 %0, metadata !22, metadata !DIExpression()), !dbg !23 > %neg1 = xor i32 %0, -1, !dbg !27 > ret i32 %neg1, !dbg !28 >} > >; Function Attrs: nofree nosync nounwind readnone speculatable willreturn >declare void @llvm.dbg.value(metadata, metadata, metadata) #1 > >attributes #0 = { nofree nosync nounwind readnone sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } >attributes #1 = { nofree nosync nounwind readnone speculatable willreturn } >attributes #2 = { nounwind readnone } > >!llvm.dbg.cu = !{!0} >!llvm.module.flags = !{!2, !3, !4, !5, !6, !7} >!llvm.ident = !{!8} > >!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 14.0.6 (git@github.com:OpenCilk/opencilk-project.git 523da9eb198f8260fc59681674bd4cd1c7db48c9)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None) >!1 = !DIFile(filename: "crc32c_sse42_asm.c", directory: "/usr/ports/devel/py-awscrt/work-py39/awscrt-0.13.14/build/temp.freebsd-14.0-CURRENT-amd64-cpython-39/deps/aws-checksums") >!2 = !{i32 7, !"Dwarf Version", i32 4} >!3 = !{i32 2, !"Debug Info Version", i32 3} >!4 = !{i32 1, !"wchar_size", i32 4} >!5 = !{i32 7, !"PIC Level", i32 2} >!6 = !{i32 7, !"uwtable", i32 1} >!7 = !{i32 7, !"frame-pointer", i32 2} >!8 = !{!"clang version 14.0.6 (git@github.com:OpenCilk/opencilk-project.git 523da9eb198f8260fc59681674bd4cd1c7db48c9)"} >!9 = distinct !DISubprogram(name: "aws_checksums_crc32c_hw", scope: !10, file: !10, line: 4, type: !11, scopeLine: 4, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !19) >!10 = !DIFile(filename: "crc-min.c", directory: "/usr/ports/devel/py-awscrt/work-py39/awscrt-0.13.14/build/temp.freebsd-14.0-CURRENT-amd64-cpython-39/deps/aws-checksums") >!11 = !DISubroutineType(types: !12) >!12 = !{!13, !15, !13} >!13 = !DIDerivedType(tag: DW_TAG_typedef, name: "uint32_t", file: !10, line: 2, baseType: !14) >!14 = !DIBasicType(name: "unsigned int", size: 32, encoding: DW_ATE_unsigned) >!15 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !16, size: 64) >!16 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !17) >!17 = !DIDerivedType(tag: DW_TAG_typedef, name: "uint8_t", file: !10, line: 1, baseType: !18) >!18 = !DIBasicType(name: "unsigned char", size: 8, encoding: DW_ATE_unsigned_char) >!19 = !{!20, !21, !22} >!20 = !DILocalVariable(name: "input", arg: 1, scope: !9, file: !10, line: 4, type: !15) >!21 = !DILocalVariable(name: "previousCrc32", arg: 2, scope: !9, file: !10, line: 4, type: !13) >!22 = !DILocalVariable(name: "crc", scope: !9, file: !10, line: 5, type: !13) >!23 = !DILocation(line: 0, scope: !9) >!24 = !DILocation(line: 5, column: 20, scope: !9) >!25 = !DILocation(line: 6, column: 5, scope: !9) >!26 = !{i64 193} >!27 = !DILocation(line: 7, column: 12, scope: !9) >!28 = !DILocation(line: 7, column: 5, scope: !9)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 265756
:
235946
|
235947
| 235950