Datasets:

Modalities:
Text
Formats:
json
Size:
< 1K
Tags:
code
DOI:
Libraries:
Datasets
pandas
License:
dtcxzyw commited on
Commit
d9acdca
·
1 Parent(s): bce2751
dataset.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
dataset/115574.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_id": "115574",
3
+ "issue_url": "https://github.com/llvm/llvm-project/issues/115574",
4
+ "bug_type": "miscompilation",
5
+ "base_commit": "00bdce1c373a1c5b756f4cf694a952ef702d0294",
6
+ "knowledge_cutoff": "2024-11-09T01:49:48Z",
7
+ "lit_test_dir": [
8
+ "llvm/test/Transforms/InstSimplify"
9
+ ],
10
+ "hints": {
11
+ "fix_commit": "1af627b592dd15bbe58136f902ced46251fc344d",
12
+ "components": [
13
+ "InstructionSimplify"
14
+ ],
15
+ "bug_location_lineno": {
16
+ "llvm/lib/Analysis/InstructionSimplify.cpp": [
17
+ [
18
+ 27,
19
+ 32
20
+ ],
21
+ [
22
+ 4731,
23
+ 4742
24
+ ]
25
+ ]
26
+ },
27
+ "bug_location_funcname": {
28
+ "llvm/lib/Analysis/InstructionSimplify.cpp": [
29
+ "simplifySelectWithICmpCond"
30
+ ]
31
+ }
32
+ },
33
+ "patch": "commit 1af627b592dd15bbe58136f902ced46251fc344d\nAuthor: Yingwei Zheng <[email protected]>\nDate: Sun Feb 2 19:04:23 2025 +0800\n\n [InstSimplify] Add additional checks when substituting pointers (#125385)\n \n Compile-time impact:\n https://llvm-compile-time-tracker.com/compare.php?from=d09b521624f263b5f1296f8d4771836b97e600cb&to=e437ba2cb83bb965e13ef00727671896f03ff84f&stat=instructions:u\n IR diff looks acceptable.\n Closes https://github.com/llvm/llvm-project/issues/115574\n\ndiff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp\nindex 21c937530cd8..3cbc4107433e 100644\n--- a/llvm/lib/Analysis/InstructionSimplify.cpp\n+++ b/llvm/lib/Analysis/InstructionSimplify.cpp\n@@ -27,6 +27,7 @@\n #include \"llvm/Analysis/CmpInstAnalysis.h\"\n #include \"llvm/Analysis/ConstantFolding.h\"\n #include \"llvm/Analysis/InstSimplifyFolder.h\"\n+#include \"llvm/Analysis/Loads.h\"\n #include \"llvm/Analysis/LoopAnalysisManager.h\"\n #include \"llvm/Analysis/MemoryBuiltins.h\"\n #include \"llvm/Analysis/OverflowInstAnalysis.h\"\n@@ -4731,12 +4732,16 @@ static Value *simplifySelectWithICmpCond(Value *CondVal, Value *TrueVal,\n // the arms of the select. See if substituting this value into the arm and\n // simplifying the result yields the same value as the other arm.\n if (Pred == ICmpInst::ICMP_EQ) {\n- if (Value *V = simplifySelectWithEquivalence({{CmpLHS, CmpRHS}}, TrueVal,\n- FalseVal, Q, MaxRecurse))\n- return V;\n- if (Value *V = simplifySelectWithEquivalence({{CmpRHS, CmpLHS}}, TrueVal,\n- FalseVal, Q, MaxRecurse))\n- return V;\n+ if (CmpLHS->getType()->isIntOrIntVectorTy() ||\n+ canReplacePointersIfEqual(CmpLHS, CmpRHS, Q.DL))\n+ if (Value *V = simplifySelectWithEquivalence({{CmpLHS, CmpRHS}}, TrueVal,\n+ FalseVal, Q, MaxRecurse))\n+ return V;\n+ if (CmpLHS->getType()->isIntOrIntVectorTy() ||\n+ canReplacePointersIfEqual(CmpRHS, CmpLHS, Q.DL))\n+ if (Value *V = simplifySelectWithEquivalence({{CmpRHS, CmpLHS}}, TrueVal,\n+ FalseVal, Q, MaxRecurse))\n+ return V;\n \n Value *X;\n Value *Y;\n",
34
+ "tests": [
35
+ {
36
+ "file": "llvm/test/Transforms/InstSimplify/select-icmp.ll",
37
+ "commands": [
38
+ "opt < %s -passes=instsimplify -S"
39
+ ],
40
+ "tests": [
41
+ {
42
+ "test_name": "icmp_ptr_eq_replace_null",
43
+ "test_body": "target datalayout = \"p:8:8:8\"\n\ndefine ptr @icmp_ptr_eq_replace_null(ptr %a) {\n %cmp = icmp eq ptr %a, null\n %sel = select i1 %cmp, ptr null, ptr %a\n ret ptr %sel\n}\n"
44
+ },
45
+ {
46
+ "test_name": "ptr_eq_replace_same_underlying_object",
47
+ "test_body": "target datalayout = \"p:8:8:8\"\n\ndefine ptr @ptr_eq_replace_same_underlying_object(ptr %st, i64 %i, i64 %j) {\n %a = getelementptr inbounds i8, ptr %st, i64 %i\n %b = getelementptr inbounds i8, ptr %st, i64 %j\n %cmp = icmp eq ptr %a, %b\n %sel = select i1 %cmp, ptr %a, ptr %b\n ret ptr %sel\n}\n"
48
+ },
49
+ {
50
+ "test_name": "icmp_ptr_eq_replace",
51
+ "test_body": "target datalayout = \"p:8:8:8\"\n\ndefine ptr @icmp_ptr_eq_replace(ptr %a, ptr %b) {\n %cmp = icmp eq ptr %a, %b\n %sel = select i1 %cmp, ptr %a, ptr %b\n ret ptr %sel\n}\n"
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "issue": {
57
+ "title": "[InstSimplify] wrong folding of pointer comparison `select (icmp eq ptr ...)`",
58
+ "body": "https://github.com/llvm/llvm-project/blob/c93e001ca695e905cb965b36d63f7a348d1dd809/llvm/lib/Analysis/InstructionSimplify.cpp#L148-L167\r\n\r\nAlive2 report: https://alive2.llvm.org/ce/z/aux2zY\r\n\r\n```llvm\r\n----------------------------------------\r\ndefine ptr @smin_test8.2(ptr %a, ptr %b, ptr %c) {\r\n#0:\r\n %cmp1 = icmp eq ptr %a, %b\r\n %umin1 = select i1 %cmp1, ptr %a, ptr %b\r\n %cmp2 = icmp slt ptr %b, %c\r\n %umin2 = select i1 %cmp2, ptr %b, ptr %c\r\n %cmp3 = icmp ult ptr %umin2, %a\r\n %umin3 = select i1 %cmp3, ptr %umin2, ptr %a\r\n %cmp4 = icmp slt ptr %c, %umin3\r\n %res = select i1 %cmp4, ptr %umin1, ptr %umin3\r\n ret ptr %res\r\n}\r\n=>\r\ndefine ptr @smin_test8.2(ptr %a, ptr %b, ptr %c) {\r\n#0:\r\n %cmp2 = icmp slt ptr %b, %c\r\n %umin2 = select i1 %cmp2, ptr %b, ptr %c\r\n %cmp3 = icmp ult ptr %umin2, %a\r\n %umin3 = select i1 %cmp3, ptr %umin2, ptr %a\r\n %cmp4 = icmp slt ptr %c, %umin3\r\n %res = select i1 %cmp4, ptr %b, ptr %umin3\r\n ret ptr %res\r\n}\r\nTransformation doesn't verify!\r\n\r\nERROR: Value mismatch\r\n\r\nExample:\r\nptr %a = pointer(non-local, block_id=0, offset=1) / Address=#x1\r\nptr %b = pointer(non-local, block_id=1, offset=0) / Address=#x1\r\nptr %c = pointer(non-local, block_id=0, offset=-8) / Address=#x8\r\n\r\nSource:\r\ni1 %cmp1 = #x1 (1)\r\nptr %umin1 = pointer(non-local, block_id=0, offset=1) / Address=#x1\r\ni1 %cmp2 = #x0 (0)\r\nptr %umin2 = pointer(non-local, block_id=0, offset=-8) / Address=#x8\r\ni1 %cmp3 = #x0 (0)\r\nptr %umin3 = pointer(non-local, block_id=0, offset=1) / Address=#x1\r\ni1 %cmp4 = #x1 (1)\r\nptr %res = pointer(non-local, block_id=0, offset=1) / Address=#x1\r\n\r\nSOURCE MEMORY STATE\r\n===================\r\nNON-LOCAL BLOCKS:\r\nBlock 0 >\tsize: 0\talign: 1\talloc type: 0\talive: false\taddress: 0\r\nBlock 1 >\tsize: 1\talign: 1\talloc type: 0\talive: true\taddress: 1\r\nBlock 2 >\tsize: 1\talign: 1\talloc type: 0\talive: true\taddress: 2\r\nBlock 3 >\tsize: 3\talign: 1\talloc type: 0\talive: true\taddress: 8\r\n\r\nTarget:\r\ni1 %cmp2 = #x0 (0)\r\nptr %umin2 = pointer(non-local, block_id=0, offset=-8) / Address=#x8\r\ni1 %cmp3 = #x0 (0)\r\nptr %umin3 = pointer(non-local, block_id=0, offset=1) / Address=#x1\r\ni1 %cmp4 = #x1 (1)\r\nptr %res = pointer(non-local, block_id=1, offset=0) / Address=#x1\r\nSource value: pointer(non-local, block_id=0, offset=1) / Address=#x1\r\nTarget value: pointer(non-local, block_id=1, offset=0) / Address=#x1\r\n\r\nSummary:\r\n 0 correct transformations\r\n 1 incorrect transformations\r\n 0 failed-to-prove transformations\r\n 0 Alive2 errors\r\n```",
59
+ "author": "bongjunj",
60
+ "labels": [
61
+ "miscompilation",
62
+ "llvm:analysis"
63
+ ],
64
+ "comments": []
65
+ },
66
+ "verified": true
67
+ }
dataset/119173.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_id": "119173",
3
+ "issue_url": "https://github.com/llvm/llvm-project/issues/119173",
4
+ "bug_type": "miscompilation",
5
+ "base_commit": "ab77db03ce28e86a61010e51ea13796ea09efc46",
6
+ "knowledge_cutoff": "2024-12-09T07:19:06Z",
7
+ "lit_test_dir": [
8
+ "llvm/test/Transforms/LoopVectorize"
9
+ ],
10
+ "hints": {
11
+ "fix_commit": "30f3752e54fa7cd595a434a985efbe9a7abe9b65",
12
+ "components": [
13
+ "LoopVectorize"
14
+ ],
15
+ "bug_location_lineno": {
16
+ "llvm/lib/Transforms/Vectorize/LoopVectorize.cpp": [
17
+ [
18
+ 6637,
19
+ 6644
20
+ ],
21
+ [
22
+ 8588,
23
+ 8593
24
+ ]
25
+ ]
26
+ },
27
+ "bug_location_funcname": {
28
+ "llvm/lib/Transforms/Vectorize/LoopVectorize.cpp": [
29
+ "LoopVectorizationCostModel::getInstructionCost",
30
+ "VPRecipeBuilder::tryToWiden"
31
+ ]
32
+ }
33
+ },
34
+ "patch": "commit 30f3752e54fa7cd595a434a985efbe9a7abe9b65\nAuthor: Florian Hahn <[email protected]>\nDate: Mon Feb 3 17:01:02 2025 +0000\n\n [VPlan] Only use SCEV for live-ins in tryToWiden. (#125436)\n \n Replacing a recipe with a live-in may not be correct in all cases,\n e.g. when replacing recipes involving header-phi recipes, like\n reductions.\n \n For now, only use SCEV to simplify live-ins.\n \n More powerful input simplification can be built in top of\n https://github.com/llvm/llvm-project/pull/124432 in the future.\n \n \n Fixes https://github.com/llvm/llvm-project/issues/119173.\n Fixes https://github.com/llvm/llvm-project/issues/125374.\n \n PR: https://github.com/llvm/llvm-project/pull/125436\n\ndiff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp\nindex cbb9960959f2..ce66350669d5 100644\n--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp\n+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp\n@@ -6637,8 +6637,10 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I,\n // fold away. We can generalize this for all operations using the notion\n // of neutral elements. (TODO)\n if (I->getOpcode() == Instruction::Mul &&\n- (PSE.getSCEV(I->getOperand(0))->isOne() ||\n- PSE.getSCEV(I->getOperand(1))->isOne()))\n+ ((TheLoop->isLoopInvariant(I->getOperand(0)) &&\n+ PSE.getSCEV(I->getOperand(0))->isOne()) ||\n+ (TheLoop->isLoopInvariant(I->getOperand(1)) &&\n+ PSE.getSCEV(I->getOperand(1))->isOne())))\n return 0;\n \n // Detect reduction patterns\n@@ -8588,6 +8590,8 @@ VPWidenRecipe *VPRecipeBuilder::tryToWiden(Instruction *I,\n // to replace operands with constants.\n ScalarEvolution &SE = *PSE.getSE();\n auto GetConstantViaSCEV = [this, &SE](VPValue *Op) {\n+ if (!Op->isLiveIn())\n+ return Op;\n Value *V = Op->getUnderlyingValue();\n if (isa<Constant>(V) || !SE.isSCEVable(V->getType()))\n return Op;\n",
35
+ "tests": [
36
+ {
37
+ "file": "llvm/test/Transforms/LoopVectorize/AArch64/mul-simplification.ll",
38
+ "commands": [
39
+ "opt -p loop-vectorize -S %s"
40
+ ],
41
+ "tests": [
42
+ {
43
+ "test_name": "mul_select_operand_known_1_via_scev",
44
+ "test_body": "target triple = \"arm64-apple-macosx\"\n\ndefine i64 @mul_select_operand_known_1_via_scev() {\nentry:\n br label %loop\n\nloop: ; preds = %loop, %entry\n %red = phi i64 [ 12, %entry ], [ %red.next, %loop ]\n %iv = phi i32 [ 0, %entry ], [ %iv.next, %loop ]\n %0 = and i32 %iv, 1\n %cmp1.i = icmp eq i32 %0, 0\n %narrow.i = select i1 %cmp1.i, i32 1, i32 %iv\n %mul = zext nneg i32 %narrow.i to i64\n %red.next = mul nsw i64 %red, %mul\n %iv.next = add nuw nsw i32 %iv, 1\n %ec = icmp eq i32 %iv, 1\n br i1 %ec, label %exit, label %loop\n\nexit: ; preds = %loop\n %res = phi i64 [ %red.next, %loop ]\n ret i64 %res\n}\n",
45
+ "additional_args": "-src-unroll=4 -tgt-unroll=4"
46
+ },
47
+ {
48
+ "test_name": "pr125374",
49
+ "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine i32 @main() {\nentry:\n br label %for.body.i.i\n\nfor.body.i.i: ; preds = %for.body.i.i, %entry\n %indvars.iv.i.i = phi i64 [ 0, %entry ], [ %indvars.iv.next.i.i, %for.body.i.i ]\n %conv678.i.i = phi i8 [ 1, %entry ], [ %add.i.i.i, %for.body.i.i ]\n %add.i.i.i = add i8 0, %conv678.i.i\n %indvars.iv.next.i.i = add i64 %indvars.iv.i.i, 1\n %exitcond.not.i.i = icmp eq i64 %indvars.iv.i.i, 1\n br i1 %exitcond.not.i.i, label %o.exit, label %for.body.i.i\n\no.exit: ; preds = %for.body.i.i\n %conv6.i.i = zext i8 %add.i.i.i to i32\n ret i32 %conv6.i.i\n}\n",
50
+ "additional_args": "-src-unroll=2 -tgt-unroll=2"
51
+ }
52
+ ]
53
+ }
54
+ ],
55
+ "issue": {
56
+ "title": "[clang] Miscompilation at -O3",
57
+ "body": "This code prints 15 at -O3, but prints 5 at -O0/1/2:\n```c\nint printf(const char *, ...);\nstatic int a[] = {4294967295, 5};\nint b, c;\nint main() {\n a[1] = b = 5;\n unsigned d = -13;\n for (; d >= 8; d = a[0] + d + 6) {\n int *e = &b;\n *e = a[0] - -1 + b;\n }\n a[c];\n printf(\"%d\\n\", b);\n}\n```\n\nCompiler Explorer: https://godbolt.org/z/4xdPqcjPb\n\nBisected to https://github.com/llvm/llvm-project/commit/6d6eea92e36c301e34a7ec11b2a40e3080f79f53, which was committed by @fhahn ",
58
+ "author": "cardigan1008",
59
+ "labels": [
60
+ "miscompilation",
61
+ "vectorizers"
62
+ ],
63
+ "comments": [
64
+ {
65
+ "author": "hstk30-hw",
66
+ "body": "Don't ignore the warning.\n\n```\n<source>:2:19: warning: implicit conversion from 'long' to 'int' changes value from 4294967294 to -2 [-Wconstant-conversion]\n 2 | static int a[] = {4294967294, 5};\n | ~^~~~~~~~~~\n```"
67
+ },
68
+ {
69
+ "author": "antoniofrighetto",
70
+ "body": "Please leave the issue opened, as it's implementation-defined behaviour, not undefined behaviour."
71
+ },
72
+ {
73
+ "author": "antoniofrighetto",
74
+ "body": "Reduced to:\n```llvm\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine noundef i32 @src() {\nentry:\n br label %for.body\n\nfor.body: ; preds = %entry, %for.body\n %d.06 = phi i32 [ -13, %entry ], [ %add2.reass, %for.body ]\n %add45 = phi i32 [ 5, %entry ], [ %add, %for.body ]\n %add = add i32 0, %add45\n %add2.reass = add i32 %d.06, 5\n %cmp = icmp ugt i32 %add2.reass, 7\n br i1 %cmp, label %for.body, label %for.end\n\nfor.end: ; preds = %for.body\n ret i32 %add\n}\n```\n\n@fhahn I think the issue fundamentally here lies in the fact that we are incorrectly widening the constant 5 (retrieved from SCEV) to `<5, 5, 5, 5>`, when in fact it should be `<5, 0, 0, 0>` (VPlan value: `WIDEN-REDUCTION-PHI ir<%add45> = phi ir<5>`). The VPBasicBlock for the miscompiled basic block is the following one:\n```\nvector.body:\n EMIT vp<%4> = CANONICAL-INDUCTION ir<0>, vp<%7>\n WIDEN-INDUCTION %d.06 = phi -13, %add2.reass, ir<5>, vp<%0>\n WIDEN-REDUCTION-PHI ir<%add45> = phi ir<5>\n EMIT vp<%5> = WIDEN-CANONICAL-INDUCTION vp<%4>\n EMIT vp<%6> = icmp ule vp<%5>, vp<%3>\n```\nI'm not that familiar with VPlan, though I feel like that either we are not taking into account the active lane, or we should have not emitted a widen instruction in the first place.\n\n(Godbolt: https://llvm.godbolt.org/z/4Wz46ceh1)"
75
+ },
76
+ {
77
+ "author": "antoniofrighetto",
78
+ "body": "@fhahn Would you be willing to have a look at it? Happy to help with any additional triage, if needed."
79
+ },
80
+ {
81
+ "author": "fhahn",
82
+ "body": "Yep let me take a look!"
83
+ }
84
+ ]
85
+ },
86
+ "verified": true
87
+ }
dataset/122913.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_id": "122913",
3
+ "issue_url": "https://github.com/llvm/llvm-project/issues/122913",
4
+ "bug_type": "crash",
5
+ "base_commit": "195a1fc5b05d7a42b2e3fa383edb9a7e8b34a9c5",
6
+ "knowledge_cutoff": "2025-01-14T15:11:18Z",
7
+ "lit_test_dir": [
8
+ "llvm/test/Analysis/ScalarEvolution"
9
+ ],
10
+ "hints": {
11
+ "fix_commit": "137d706739653304294adef84ed758e3e498d975",
12
+ "components": [
13
+ "ScalarEvolution"
14
+ ],
15
+ "bug_location_lineno": {
16
+ "llvm/lib/Analysis/ScalarEvolution.cpp": [
17
+ [
18
+ 15328,
19
+ 15333
20
+ ]
21
+ ]
22
+ },
23
+ "bug_location_funcname": {
24
+ "llvm/lib/Analysis/ScalarEvolution.cpp": [
25
+ "ScalarEvolution::LoopGuards::collect"
26
+ ]
27
+ }
28
+ },
29
+ "patch": "commit 137d706739653304294adef84ed758e3e498d975\nAuthor: Julian Nagele <[email protected]>\nDate: Wed Jan 22 18:36:37 2025 +0000\n\n [SCEV] Do not attempt to collect loop guards for loops without predecessor. (#123662)\n \n Attempting to collect loop guards for loops without a predecessor can\n lead to non-terminating recursion trying to construct a SCEV.\n \n Fixes https://github.com/llvm/llvm-project/issues/122913.\n\ndiff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp\nindex 7673c3548175..210c7cab965e 100644\n--- a/llvm/lib/Analysis/ScalarEvolution.cpp\n+++ b/llvm/lib/Analysis/ScalarEvolution.cpp\n@@ -15328,6 +15328,8 @@ ScalarEvolution::LoopGuards::collect(const Loop *L, ScalarEvolution &SE) {\n BasicBlock *Header = L->getHeader();\n BasicBlock *Pred = L->getLoopPredecessor();\n LoopGuards Guards(SE);\n+ if (!Pred)\n+ return Guards;\n SmallPtrSet<const BasicBlock *, 8> VisitedBlocks;\n collectFromBlock(SE, Guards, Header, Pred, VisitedBlocks);\n return Guards;\n",
30
+ "tests": [
31
+ {
32
+ "file": "llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info-with-multiple-predecessors.ll",
33
+ "commands": [
34
+ "opt < %s -disable-output -passes=nary-reassociate --scalar-evolution-use-expensive-range-sharpening 2>&1"
35
+ ],
36
+ "tests": [
37
+ {
38
+ "test_name": "pr122913",
39
+ "test_body": "target triple = \"x86_64-unknown-linux-gnu\"\n\ndefine ptr @f(i32 %0) {\n switch i32 0, label %bb4 [\n i32 1, label %bb4\n i32 2, label %bb4\n i32 3, label %bb4\n i32 4, label %bb1\n i32 5, label %bb4\n i32 6, label %bb4\n ]\n\nbb: ; No predecessors!\n switch i32 0, label %bb4 [\n i32 0, label %bb4\n i32 1, label %bb1\n ]\n\nbb1: ; preds = %bb2, %bb, %1\n %2 = phi i32 [ %3, %bb2 ], [ 0, %bb ], [ 0, %1 ]\n switch i32 %0, label %bb3 [\n i32 0, label %bb2\n i32 1, label %bb2\n i32 2, label %bb2\n ]\n\nbb2: ; preds = %bb1, %bb1, %bb1\n %3 = add i32 %2, 1\n %4 = icmp ult i32 %0, 0\n br i1 %4, label %bb1, label %bb4\n\nbb3: ; preds = %bb1\n unreachable\n\nbb4: ; preds = %bb2, %bb, %bb, %1, %1, %1, %1, %1, %1\n ret ptr null\n}"
40
+ }
41
+ ]
42
+ }
43
+ ],
44
+ "issue": {
45
+ "title": "[SCEV] Another SEGV/stack overflow in LoopGuards",
46
+ "body": "Similar to https://github.com/llvm/llvm-project/issues/120615. Looks like the fix wasn't a complete one. Here is an example:\n\n```llvm\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine ptr @f(i32 %0) {\n switch i32 0, label %bb4 [\n i32 1, label %bb4\n i32 2, label %bb4\n i32 3, label %bb4\n i32 4, label %bb1\n i32 5, label %bb4\n i32 6, label %bb4\n ]\n\nbb: ; No predecessors!\n switch i32 0, label %bb4 [\n i32 0, label %bb4\n i32 1, label %bb1\n ]\n\nbb1: ; preds = %bb2, %bb, %1\n %2 = phi i32 [ %3, %bb2 ], [ 0, %bb ], [ 0, %1 ]\n switch i32 %0, label %bb3 [\n i32 0, label %bb2\n i32 1, label %bb2\n i32 2, label %bb2\n ]\n\nbb2: ; preds = %bb1, %bb1, %bb1\n %3 = add i32 %2, 1\n %4 = icmp ult i32 %0, 0\n br i1 %4, label %bb1, label %bb4\n\nbb3: ; preds = %bb1\n unreachable\n\nbb4: ; preds = %bb2, %bb, %bb, %1, %1, %1, %1, %1, %1\n ret ptr null\n}\n```\nCrashes with the same command line `opt -passes=nary-reassociate --scalar-evolution-use-expensive-range-sharpening`\ngodbolt: https://godbolt.org/z/4d3jo8jTz",
47
+ "author": "danilaml",
48
+ "labels": [
49
+ "llvm:SCEV",
50
+ "crash-on-valid"
51
+ ],
52
+ "comments": [
53
+ {
54
+ "author": "juliannagele",
55
+ "body": "Thanks, checking!"
56
+ },
57
+ {
58
+ "author": "danilaml",
59
+ "body": "@juliannagele Thanks for looking into it! Do you need any additional info?"
60
+ }
61
+ ]
62
+ },
63
+ "verified": true
64
+ }
dataset/125357.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bug_id": "125357",
3
+ "issue_url": "https://github.com/llvm/llvm-project/issues/125357",
4
+ "bug_type": "crash",
5
+ "base_commit": "cdeeb390a9ea21540fc44ba10dede66fbc0b2fc8",
6
+ "knowledge_cutoff": "2025-02-01T20:11:30Z",
7
+ "lit_test_dir": [
8
+ "llvm/test/Transforms/SLPVectorizer"
9
+ ],
10
+ "hints": {
11
+ "fix_commit": "0c70a26f46e4efd5a29eb281ff99d2cf7f04c6f6",
12
+ "components": [
13
+ "SLPVectorizer"
14
+ ],
15
+ "bug_location_lineno": {
16
+ "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
17
+ [
18
+ 20147,
19
+ 20153
20
+ ]
21
+ ]
22
+ },
23
+ "bug_location_funcname": {
24
+ "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
25
+ "tryToReduce"
26
+ ]
27
+ }
28
+ },
29
+ "patch": "commit 0c70a26f46e4efd5a29eb281ff99d2cf7f04c6f6\nAuthor: Alexey Bataev <[email protected]>\nDate: Mon Feb 3 04:37:49 2025 -0800\n\n [SLP]Clear root node reordering only if the root node is not re-used in graph\n \n The reordering of the root node can be safely cleared only if the root\n node is not reused, otherwise the graph might be broken\n \n Fixes #125357\n\ndiff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp\nindex 4f83b9cfa18d..539c9227af7e 100644\n--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp\n+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp\n@@ -20147,7 +20147,7 @@ public:\n }\n V.reorderTopToBottom();\n // No need to reorder the root node at all.\n- V.reorderBottomToTop(/*IgnoreReorder=*/true);\n+ V.reorderBottomToTop(!V.doesRootHaveInTreeUses());\n // Keep extracted other reduction values, if they are used in the\n // vectorization trees.\n BoUpSLP::ExtraValueToDebugLocsMap LocalExternallyUsedValues(\n",
30
+ "tests": [
31
+ {
32
+ "file": "llvm/test/Transforms/SLPVectorizer/X86/root-node-reordered-reused.ll",
33
+ "commands": [
34
+ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s"
35
+ ],
36
+ "tests": [
37
+ {
38
+ "test_name": "<module>",
39
+ "test_body": "; ModuleID = 'test.ll'\nsource_filename = \"test.c\"\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128\"\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine i32 @main(i32 %0) {\nentry:\n %tobool.not = icmp eq i32 %0, 0\n br i1 %tobool.not, label %if.end6, label %if.then\n\nif.then: ; preds = %entry\n br i1 %tobool.not, label %if.end, label %i\n\nif.end: ; preds = %if.then\n br i1 %tobool.not, label %if.end6, label %i\n\nif.end6: ; preds = %if.end, %entry\n %h.0 = phi i32 [ %0, %if.end ], [ 0, %entry ]\n br i1 %tobool.not, label %i, label %if.end13\n\ni: ; preds = %if.end13, %if.end6, %if.end, %if.then\n %h.1 = phi i32 [ %0, %if.then ], [ %h.2, %if.end13 ], [ %0, %if.end ], [ %h.0, %if.end6 ]\n %j.0 = phi i32 [ undef, %if.then ], [ %j.1, %if.end13 ], [ undef, %if.end ], [ %0, %if.end6 ]\n %k.0 = phi i32 [ undef, %if.then ], [ %k.1, %if.end13 ], [ undef, %if.end ], [ %0, %if.end6 ]\n %l.0 = phi i32 [ undef, %if.then ], [ %l.1, %if.end13 ], [ undef, %if.end ], [ %0, %if.end6 ]\n %or = or i32 %j.0, %h.1\n %or9 = or i32 %or, %k.0\n %or10 = or i32 %or9, %l.0\n %tobool11.not = icmp eq i32 %or10, 0\n br i1 %tobool11.not, label %if.end13, label %land.rhs\n\nland.rhs: ; preds = %i\n br label %if.end13\n\nif.end13: ; preds = %i, %land.rhs, %if.end6\n %h.2 = phi i32 [ %h.0, %if.end6 ], [ %h.1, %land.rhs ], [ %h.1, %i ]\n %j.1 = phi i32 [ %0, %if.end6 ], [ %j.0, %land.rhs ], [ %j.0, %i ]\n %k.1 = phi i32 [ %0, %if.end6 ], [ %k.0, %land.rhs ], [ %k.0, %i ]\n %l.1 = phi i32 [ %0, %if.end6 ], [ %l.0, %land.rhs ], [ %l.0, %i ]\n br i1 true, label %if.end15, label %i\n\nif.end15: ; preds = %if.end13\n ret i32 0\n\n; uselistorder directives\n uselistorder i32 %k.0, { 1, 2, 0 }\n uselistorder i32 %l.0, { 1, 2, 0 }\n}\n"
40
+ }
41
+ ]
42
+ }
43
+ ],
44
+ "issue": {
45
+ "title": "clang crashes on valid code at -O{s,2,3} on x86_64-linux-gnu: Assertion `TE->isSame(VL) && \"Expected same scalars.\"' failed",
46
+ "body": "It appears to be a recent regression as it doesn't reproduce with 19.1.0 and earlier.\n\nCompiler Explorer: https://godbolt.org/z/6ca9841xE\n\n```\n[512] % clangtk -v\nclang version 21.0.0git (https://github.com/llvm/llvm-project.git 7612dcc6e8d8e7f19b364084effbb01946294720)\nTarget: x86_64-unknown-linux-gnu\nThread model: posix\nInstalledDir: /local/suz-local/software/local/clang-trunk/bin\nBuild config: +assertions\nFound candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10\nFound candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11\nFound candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9\nSelected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11\nCandidate multilib: .;@m64\nSelected multilib: .;@m64\n[513] % \n[513] % clangtk -O3 small.c\nclang-21: /local/suz-local/software/clangbuild/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3011: llvm::slpvectorizer::BoUpSLP::TreeEntry* llvm::slpvectorizer::BoUpSLP::getVectorizedOperand(llvm::slpvectorizer::BoUpSLP::TreeEntry*, unsigned int): Assertion `TE->isSame(VL) && \"Expected same scalars.\"' failed.\nPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.\nStack dump:\n0.\tProgram arguments: /local/suz-local/software/local/clang-trunk/bin/clang-21 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -main-file-name small.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/local/suz-local/software/emitesting/bugs/20250201-clangtk-m64-O3-build-174536/delta -fcoverage-compilation-dir=/local/suz-local/software/emitesting/bugs/20250201-clangtk-m64-O3-build-174536/delta -resource-dir /local/suz-local/software/local/clang-trunk/lib/clang/21 -I /usr/local/include -I /local/suz-local/software/local/include -internal-isystem /local/suz-local/software/local/clang-trunk/lib/clang/21/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/small-b035e7.o -x c small.c\n1.\t<eof> parser at end of file\n2.\tOptimizer\n3.\tRunning pass \"function<eager-inv>(float2int,lower-constant-intrinsics,chr,loop(loop-rotate<header-duplication;no-prepare-for-lto>,loop-deletion),loop-distribute,inject-tli-mappings,loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,infer-alignment,loop-load-elim,instcombine<max-iterations=1;no-verify-fixpoint>,simplifycfg<bonus-inst-threshold=1;forward-switch-cond;switch-range-to-icmp;switch-to-lookup;no-keep-loops;hoist-common-insts;no-hoist-loads-stores-with-cond-faulting;sink-common-insts;speculate-blocks;simplify-cond-branch;no-speculate-unpredictables>,slp-vectorizer,vector-combine,instcombine<max-iterations=1;no-verify-fixpoint>,loop-unroll<O3>,transform-warning,sroa<preserve-cfg>,infer-alignment,instcombine<max-iterations=1;no-verify-fixpoint>,loop-mssa(licm<allowspeculation>),alignment-from-assumptions,loop-sink,instsimplify,div-rem-pairs,tailcallelim,simplifycfg<bonus-inst-threshold=1;no-forward-switch-cond;switch-range-to-icmp;no-switch-to-lookup;keep-loops;no-hoist-common-insts;hoist-loads-stores-with-cond-faulting;no-sink-common-insts;speculate-blocks;simplify-cond-branch;speculate-unpredictables>)\" on module \"small.c\"\n4.\tRunning pass \"slp-vectorizer\" on function \"main\"\n #0 0x00005596296c84af llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x479d4af)\n #1 0x00005596296c5c84 SignalHandler(int) Signals.cpp:0:0\n #2 0x00007fe817057420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)\n #3 0x00007fe816a8e00b raise /build/glibc-LcI20x/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1\n #4 0x00007fe816a6d859 abort /build/glibc-LcI20x/glibc-2.31/stdlib/abort.c:81:7\n #5 0x00007fe816a6d729 get_sysdep_segment_value /build/glibc-LcI20x/glibc-2.31/intl/loadmsgcat.c:509:8\n #6 0x00007fe816a6d729 _nl_load_domain /build/glibc-LcI20x/glibc-2.31/intl/loadmsgcat.c:970:34\n #7 0x00007fe816a7efd6 (/lib/x86_64-linux-gnu/libc.so.6+0x33fd6)\n #8 0x000055962b1df5c7 llvm::slpvectorizer::BoUpSLP::getSpillCost() (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x62b45c7)\n #9 0x000055962b243030 llvm::slpvectorizer::BoUpSLP::getTreeCost(llvm::ArrayRef<llvm::Value*>) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x6318030)\n#10 0x000055962b247f34 (anonymous namespace)::HorizontalReduction::tryToReduce(llvm::slpvectorizer::BoUpSLP&, llvm::DataLayout const&, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo const&, llvm::AssumptionCache*) SLPVectorizer.cpp:0:0\n#11 0x000055962b24a205 llvm::SLPVectorizerPass::vectorizeHorReduction(llvm::PHINode*, llvm::Instruction*, llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&, llvm::SmallVectorImpl<llvm::WeakTrackingVH>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x631f205)\n#12 0x000055962b24ee25 bool llvm::SLPVectorizerPass::vectorizeCmpInsts<std::reverse_iterator<llvm::CmpInst* const*>>(llvm::iterator_range<std::reverse_iterator<llvm::CmpInst* const*>>, llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x6323e25)\n#13 0x000055962b24fedb llvm::SLPVectorizerPass::vectorizeChainsInBlock(llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&)::'lambda3'(bool)::operator()(bool) const SLPVectorizer.cpp:0:0\n#14 0x000055962b253720 llvm::SLPVectorizerPass::vectorizeChainsInBlock(llvm::BasicBlock*, llvm::slpvectorizer::BoUpSLP&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x6328720)\n#15 0x000055962b259f46 llvm::SLPVectorizerPass::runImpl(llvm::Function&, llvm::ScalarEvolution*, llvm::TargetTransformInfo*, llvm::TargetLibraryInfo*, llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*, llvm::AssumptionCache*, llvm::DemandedBits*, llvm::OptimizationRemarkEmitter*) (.part.0) SLPVectorizer.cpp:0:0\n#16 0x000055962b25aaa3 llvm::SLPVectorizerPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x632faa3)\n#17 0x000055962ac7c7e6 llvm::detail::PassModel<llvm::Function, llvm::SLPVectorizerPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x5d517e6)\n#18 0x000055962903ed49 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x4113d49)\n#19 0x000055962693a376 llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x1a0f376)\n#20 0x000055962903d5b2 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x41125b2)\n#21 0x0000559626938aa6 llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x1a0daa6)\n#22 0x000055962903cfd1 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x4111fd1)\n#23 0x0000559629991596 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) BackendUtil.cpp:0:0\n#24 0x0000559629995253 clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x4a6a253)\n#25 0x000055962a09f2ce clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x51742ce)\n#26 0x000055962ba0f29c clang::ParseAST(clang::Sema&, bool, bool) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x6ae429c)\n#27 0x000055962a09f708 clang::CodeGenAction::ExecuteAction() (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x5174708)\n#28 0x000055962a3719d9 clang::FrontendAction::Execute() (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x54469d9)\n#29 0x000055962a2f25be clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x53c75be)\n#30 0x000055962a466746 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x553b746)\n#31 0x00005596264d4a87 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x15a9a87)\n#32 0x00005596264cc33a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0\n#33 0x00005596264d0471 clang_main(int, char**, llvm::ToolContext const&) (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x15a5471)\n#34 0x00005596263bb29b main (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x149029b)\n#35 0x00007fe816a6f083 __libc_start_main /build/glibc-LcI20x/glibc-2.31/csu/../csu/libc-start.c:342:3\n#36 0x00005596264cbdce _start (/local/suz-local/software/local/clang-trunk/bin/clang-21+0x15a0dce)\nclangtk: error: unable to execute command: Aborted\nclangtk: error: clang frontend command failed due to signal (use -v to see invocation)\nclang version 21.0.0git (https://github.com/llvm/llvm-project.git 7612dcc6e8d8e7f19b364084effbb01946294720)\nTarget: x86_64-unknown-linux-gnu\nThread model: posix\nInstalledDir: /local/suz-local/software/local/clang-trunk/bin\nBuild config: +assertions\nclangtk: note: diagnostic msg: \n********************\n\nPLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:\nPreprocessed source(s) and associated run script(s) are located at:\nclangtk: note: diagnostic msg: /tmp/small-401f68.c\nclangtk: note: diagnostic msg: /tmp/small-401f68.sh\nclangtk: note: diagnostic msg: \n\n********************\n[514] % \n[514] % cat small.c\nint a, b, c, d, e;\nvolatile int f;\nint main() {\n int h = 0, j, k, l;\n if (d) {\n h = c;\n if (f)\n goto i;\n if (f)\n goto i;\n }\n l = j = k = d;\n if (!b)\n i:\n (l | (h | j) | k) && f;\n if (a != e)\n goto i;\n return 0;\n}\n```\n\n\n",
47
+ "author": "zhendongsu",
48
+ "labels": [
49
+ "llvm:SLPVectorizer",
50
+ "crash",
51
+ "generated by fuzzer"
52
+ ],
53
+ "comments": [
54
+ {
55
+ "author": "dtcxzyw",
56
+ "body": "Reduced reproducer: https://godbolt.org/z/TWadzP8Gc\n"
57
+ }
58
+ ]
59
+ },
60
+ "verified": true
61
+ }
scripts/extract_from_issues.py CHANGED
@@ -34,7 +34,7 @@ session.headers.update(
34
  )
35
 
36
  issue_id_begin = 76663 # Since 2024-01-01
37
- issue_id_end = 125374
38
 
39
 
40
  def wait(progress):
 
34
  )
35
 
36
  issue_id_begin = 76663 # Since 2024-01-01
37
+ issue_id_end = 125512
38
 
39
 
40
  def wait(progress):
scripts/postfix_extract.py CHANGED
@@ -63,6 +63,7 @@ fix_commit_map = {
63
  "81561": "97088b2ab2184ad4bd64f59fba0b92b70468b10d",
64
  "81793": None, # Cannot reproduce with alive2
65
  "81872": None, # Multi-commit fix
 
66
  "85568": None, # Object bug
67
  "86280": None, # Object bug
68
  "87534": None, # IPO miscompilation
@@ -76,6 +77,7 @@ fix_commit_map = {
76
  "97837": None, # Alive2 bug e4508ba85747eb3a5e002915e544d2e08e751425
77
  "98133": None, # Invalid reproducer
78
  "99436": None, # Complicated fix
 
79
  "102784": None, # Multi-commit fix
80
  "104397": None, # Invalid reproducer
81
  "104718": None, # Test change
@@ -86,6 +88,7 @@ fix_commit_map = {
86
  "108618": None, # Multi-commit fix
87
  "108854": None, # Multi-commit fix
88
  "109581": None, # Too many unrelated changes
 
89
  "110819": None, # Outdated issue
90
  "111585": None, # Cannot reproduce with alive2
91
  "111709": None, # Cannot reproduce with alive2
@@ -93,11 +96,14 @@ fix_commit_map = {
93
  "113301": None, # miscompilation:undef
94
  "113425": None, # miscompilation:undef
95
  "113989": None, # Cannot confirm fix with alive2
 
96
  "114905": "889215a30ed60474e573f9632d1fa362dfa1b04e", # Use the second fix
97
  "116144": None, # Cannot reproduce with alive2
98
  "116668": None, # Cannot reproduce with alive2
99
  "117170": None, # Cannot reproduce with alive2
 
100
  "119646": None, # Cannot reproduce with alive2
 
101
  "122166": None, # Duplicate of #117308
102
  "122324": None, # Cannot confirm fix with alive2
103
  "122430": None, # Cannot confirm fix with alive2
@@ -107,6 +113,9 @@ fix_commit_map = {
107
  "124213": None, # Multi-commit fix
108
  "124578": None, # OpenMP support bug
109
  "125259": None, # Reproducer is too large
 
 
 
110
  }
111
 
112
  if issue_id in fix_commit_map:
 
63
  "81561": "97088b2ab2184ad4bd64f59fba0b92b70468b10d",
64
  "81793": None, # Cannot reproduce with alive2
65
  "81872": None, # Multi-commit fix
66
+ "85185": None, # Duplicate of #79742
67
  "85568": None, # Object bug
68
  "86280": None, # Object bug
69
  "87534": None, # IPO miscompilation
 
77
  "97837": None, # Alive2 bug e4508ba85747eb3a5e002915e544d2e08e751425
78
  "98133": None, # Invalid reproducer
79
  "99436": None, # Complicated fix
80
+ "99625": None, # Duplicate of #94328
81
  "102784": None, # Multi-commit fix
82
  "104397": None, # Invalid reproducer
83
  "104718": None, # Test change
 
88
  "108618": None, # Multi-commit fix
89
  "108854": None, # Multi-commit fix
90
  "109581": None, # Too many unrelated changes
91
+ "110440": None, # Duplicate of #109528
92
  "110819": None, # Outdated issue
93
  "111585": None, # Cannot reproduce with alive2
94
  "111709": None, # Cannot reproduce with alive2
 
96
  "113301": None, # miscompilation:undef
97
  "113425": None, # miscompilation:undef
98
  "113989": None, # Cannot confirm fix with alive2
99
+ "114181": None, # Duplicate of #112666
100
  "114905": "889215a30ed60474e573f9632d1fa362dfa1b04e", # Use the second fix
101
  "116144": None, # Cannot reproduce with alive2
102
  "116668": None, # Cannot reproduce with alive2
103
  "117170": None, # Cannot reproduce with alive2
104
+ "119173": "30f3752e54fa7cd595a434a985efbe9a7abe9b65",
105
  "119646": None, # Cannot reproduce with alive2
106
+ "121430": None, # Alive2 bug https://github.com/AliveToolkit/alive2/pull/1155
107
  "122166": None, # Duplicate of #117308
108
  "122324": None, # Cannot confirm fix with alive2
109
  "122430": None, # Cannot confirm fix with alive2
 
113
  "124213": None, # Multi-commit fix
114
  "124578": None, # OpenMP support bug
115
  "125259": None, # Reproducer is too large
116
+ "125369": None, # Reverted
117
+ "125374": None, # Duplicate of #119173
118
+ "125400": None, # Reverted
119
  }
120
 
121
  if issue_id in fix_commit_map: