bug_id
string
issue_url
string
bug_type
string
base_commit
string
knowledge_cutoff
timestamp[s]
lit_test_dir
list
hints
dict
patch
string
tests
list
issue
dict
verified
bool
properties
dict
bisect
string
test_commit
string
180456
https://github.com/llvm/llvm-project/issues/180456
miscompilation
b4e9cf03a608f18d610ad4ad8ef7826bb9418039
2026-02-09T03:33:33
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "95ef1a5c3139c44bb171df225cb2b0aa17b50f1d", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 1080, 1134 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 95ef1a5c3139c44bb171df225cb2b0aa17b50f1d Author: Ryan Buchner <rbuchner@qti.qualcomm.com> Date: Thu Feb 12 09:34:44 2026 -0800 [SLP] Use the correct identity when combining binary opcodes with AND/MUL (#180457) Fixes #180456 Fix bug in the following SLP lowering: ``` define void ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/semanticly-same.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-50 < %s", "opt -S --passes=slp-vectorizer -mtriple=aarch64-unknown-linux-gnu -slp-threshold=-50 < %s" ], "tests": [ { ...
{ "title": "[SLP] Binary combines with MUL and AND may use the wrong identity value", "body": "The following lowering currently occurs: \n`opt -S --passes=slp-vectorizer -mtriple=aarch64-unknown-linux-gnu -slp-threshold=-50`\n```llvm\ndefine void @sub_mul(ptr %p, ptr %s) {\nentry:\n %p1 = getelementptr i16, ptr %p...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
121432
https://github.com/llvm/llvm-project/issues/121432
miscompilation
b51a082e1afd707f8cf1473e4c49374e7e951d2d
2025-01-01T11:07:27
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "c05599966cd594c15834378f57669719d221c4d4", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit c05599966cd594c15834378f57669719d221c4d4 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Mon Jan 6 16:23:46 2025 +0800 [InstCombine] Fix FMF propagation in `copysign Mag, (copysign ?, X) -> copysign Mag, X` (#121574) Closes https://github.com/llvm/llvm-project/issues/121432. diff --git a/llv...
[ { "file": "llvm/test/Transforms/InstCombine/copysign.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "copysign_sign_arg_mixed", "test_body": "; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)\ndeclar...
{ "title": "[InstCombine] FMF flags should not be propagated", "body": "Alive2: https://alive2.llvm.org/ce/z/ajCxTh\n```\ndefine float @src1(float noundef %x, float noundef %y, float noundef %z) {\n %s = call float @llvm.copysign.f32(float %y, float %z)\n %r = call nnan float @llvm.copysign.f32(float %x, float %s...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
134085
https://github.com/llvm/llvm-project/issues/134085
crash
f475ccd3794ebce22950b707ad390fae7e235b46
2025-04-02T13:46:38
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "843ef77dc22afd1923b891acd4c46c8f8c8c93ae", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 14335, 14341 ], [ 14552, 14557 ], [ 14596, 14601 ...
commit 843ef77dc22afd1923b891acd4c46c8f8c8c93ae Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Apr 2 11:44:36 2025 -0700 [SLP]Update mapping between values and their matching entries upon selection Need to update the mapping between gathered values and their matching entries, if the list of ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/matched-nodes-updated.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "<module>", "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272...
{ "title": "clang crashes at -O{s,2,3} on x86_64-linux-gnu: Assertion `idx < size()' failed", "body": "It appears to be a recent regression as it doesn't reproduce with 20.1.0.\n\nCompiler Explorer: https://godbolt.org/z/nKW8o5f8a\n\n```\n[516] % clangtk -v\nclang version 21.0.0git (https://github.com/llvm/llvm-pro...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Invalid order
null
158660
https://github.com/llvm/llvm-project/issues/158660
crash
dbc96f41f15fc30d4fc6198eb1c2dcb57547a160
2025-09-15T15:25:10
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "1858532c48cf5d93aa82966110fe1cada6ab6ba8", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 1858532c48cf5d93aa82966110fe1cada6ab6ba8 Author: Florian Hahn <flo@fhahn.com> Date: Mon Sep 15 21:46:49 2025 +0100 [VPlan] Handle predicated UDiv in VPReplicateRecipe::computeCost. Account for predicated UDiv,SDiv,URem,SRem in VPReplicateRecipe::computeCost: compute costs of extra phis and ap...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/cost-conditional-branches.ll", "commands": [ "opt < %s -passes=loop-vectorize -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx -S" ], "tests": [ { "test_name": "test_predicated_udiv", "test_body": "target triple = \"x86...
{ "title": "New case of \"VPlan cost model and legacy cost model disagreed\"", "body": "Our testing encountered a new regression which bisects to 91d4c0dfdf226665c17d4a44e2fab466e6103d18 (tag @fhahn ).\n\nLet me know if you need any more info!\n\n\nhttps://godbolt.org/z/r4qo3e9fs\n\n```\ntarget triple = \"x86_64-un...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
91d4c0dfdf226665c17d4a44e2fab466e6103d18
null
138345
https://github.com/llvm/llvm-project/issues/138345
crash
1c1238d3615a7e1a99570d1e02de3b538d2e0669
2025-05-02T21:00:30
[ "llvm/test/Transforms/GVNSink" ]
{ "fix_commit": "43eafc0c4aca0b2fd159c09d4b162c1941b4f4ed", "components": [ "Local" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp": nul...
commit 43eafc0c4aca0b2fd159c09d4b162c1941b4f4ed Author: Paul Kirth <paulkirth@google.com> Date: Mon May 5 18:16:33 2025 -0700 [llvm][gvn-sink] Don't try to sink inline asm (#138414) Fixes #138345. Before this patch, gvn-sink would try to sink inline assembly statements. Other GVN passes avoid them (...
[ { "file": "llvm/test/Transforms/GVNSink/pr138345.ll", "commands": [ "opt -passes=\"gvn-sink\" -S %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n;; See https://github.com/llvm/llvm-project/issues/138345 for details.\n;; The program below used to crash due to ...
{ "title": "Assertion failure with gvn-sink", "body": "I tried to enable GVN hoist/sink when compiling Fuchsia at -Oz, since that should improve size slightly, and ran into this. I know those passes have had some issues, but I figured they had some attention a while back and we should try again. Probably some value...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
113810
https://github.com/llvm/llvm-project/issues/113810
crash
ce0368eb8417f2d369499bb98b1f0ccbe2219598
2024-10-27T14:16:44
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "7152bf3bc805b8d9b1873058ab0a084d7b6079d6", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 7947, 7954 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 7152bf3bc805b8d9b1873058ab0a084d7b6079d6 Author: Alexey Bataev <a.bataev@outlook.com> Date: Mon Oct 28 06:37:24 2024 -0700 [SLP]Do not create new vector node if scalars fully overlap with the existing one If the list of scalars vectorized as the part of the same vector node, no need to genera...
[ { "file": "llvm/test/Transforms/SLPVectorizer/full-overlap-non-schedulable.ll", "commands": [ "opt -S --passes=slp-vectorizer < %s" ], "tests": [ { "test_name": "test", "test_body": "define void @test(ptr %p1, ptr %0, i32 %1, i1 %c1, ptr %p2) {\ntop:\n %2 = getelementptr...
{ "title": "SLPVectorizer miscompilation", "body": "This IR\r\n```llvm\r\n; Function Attrs: alignstack(16)\r\ndefine swiftcc { ptr addrspace(10), i8 } @julia__zip_iterate_all_17381(ptr noalias nocapture noundef nonnull align 4 dereferenceable(96) %union_bytes_return, ptr nonnull swiftself %pgcstack_arg, ptr addrspa...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
69332bb8995aef60d830406de12cb79a50390261
null
141968
https://github.com/llvm/llvm-project/issues/141968
crash
389e9d3a422f17356d1f90913b891d23011ae5b3
2025-05-29T15:40:08
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "b8c4eea3d8b2a2df9442319de14ef38c2492428d", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit b8c4eea3d8b2a2df9442319de14ef38c2492428d Author: Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> Date: Mon Jun 2 15:56:35 2025 +0200 [VPlan] Simplify PredPHI LiveIn -> LiveIn (#142271) 5f39be5 ([VPlan] Use InstSimplifyFolder instead of TargetFolder) updated simplifyRecipe to fold live...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/pr141968-instsimplifyfolder.ll", "commands": [ "opt -passes=loop-vectorize -S %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ntarget triple = \"x86_64\"\n\ndefine i8 @pr141968(i1 %cond, i8 %v) {\n;\nentry:\n ...
{ "title": "[LoopVectorize] Assertion `PredicatingBB && \"Predicated block has no single predecessor.\"' failed.", "body": "Crash reproducer:\n```\n; bin/opt -passes=loop-vectorize test.ll -S\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 = \"...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
5f39be591714eba1be413e2b3ed6fc152a15bb8e
null
169780
https://github.com/llvm/llvm-project/issues/169780
crash
07d14cb6d3e0319b4f95bfaca1502c4a8dc02910
2025-11-27T09:36:56
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "8459508227dd30ce32f870fbc9109fe95d51f4db", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 8459508227dd30ce32f870fbc9109fe95d51f4db Author: Florian Hahn <flo@fhahn.com> Date: Thu Nov 27 21:52:15 2025 +0000 [VPlan] Handle scalar VPWidenPointerInd in convertToConcreteRecipes. (#169338) In some case, VPWidenPointerInductions become only used by scalars after legalizeAndOptimizationInd...
[ { "file": "llvm/test/Transforms/LoopVectorize/RISCV/pointer-induction.ll", "commands": [ "opt -mtriple riscv64 -mcpu=sifive-p670 -p loop-vectorize -vectorize-scev-check-threshold=3000 %s" ], "tests": [ { "test_name": "scalarize_ptr_induction", "test_body": "define void @b...
{ "title": "[LV] Assertion `!R->onlyScalarsGenerated(Plan->hasScalableVF()) && \"Recipe should have been replaced\"'", "body": "```\ndefine void @blam(ptr %arg, ptr %arg1) {\nbb:\n br label %bb400\n\nbb400: ; preds = %bb437, %bb\n %phi401 = phi ptr [ %getelementptr440, %...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
null
null
87394
https://github.com/llvm/llvm-project/issues/87394
crash
d5022d9ad4aec250f77d21c819a9810a97b8b6a8
2024-04-02T18:48:53
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "adb0126ef11b0083d5a78be1534ccefa53def1cf", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit adb0126ef11b0083d5a78be1534ccefa53def1cf Author: Patrick O'Neill <patrick@rivosinc.com> Date: Tue Apr 23 07:48:43 2024 -0700 [VPlan] Add scalar inferencing support for Not and Or insns (#89160) Fixes #87394. PR: https://github.com/llvm/llvm-project/pull/89160 diff --git a/llvm/lib/Trans...
[ { "file": "llvm/test/Transforms/LoopVectorize/vplan-infer-not-or-type.ll", "commands": [ "opt < %s -passes=loop-vectorize -S" ], "tests": [ { "test_name": "foo", "test_body": "define void @foo(i8 %arg.0, i8 %arg.1) {\nentry:\n br label %loop.header\n\nloop.header: ...
{ "title": "[LoopVectorize][VPlan] Unreachable executed \"Unhandled opcode!\"", "body": "Reduced LLVM IR:\r\n```llvm ir\r\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\r\ntarget triple = \"riscv64-unknown-linux-gnu\"\r\n\r\ndefine i32 @main() #0 {\r\nentry:\r\n br label %for.body\r\n\r\nfor.co...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
51afb101743855e2ae2624ebbe087da77128d92c
null
128736
https://github.com/llvm/llvm-project/issues/128736
crash
02128342d2818e5a65846fec4179ed5344045102
2025-02-25T16:27:23
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "39bab1de33333ee3c62b586c4e8d26f8c443bc60", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 1389, 1397 ], [ 2849, 2859 ], [ 2915, 2926 ],...
commit 39bab1de33333ee3c62b586c4e8d26f8c443bc60 Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Feb 26 14:12:05 2025 -0800 [SLP]Check if the operand for removal is the reduction operand, awaiting for the reduction If the operand of the instruction-to-be-removed is a reduction value, which is ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/reduction-with-removed-extracts.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -mcpu=znver2 < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine i32 @test(i32 %arg) {\...
{ "title": "Assertion `I->use_empty() && \"trying to erase instruction with users.\"' failed.", "body": "To reproduce run opt with the test below using -passes=slp-vectorizer.\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
2ad816648f2719e6c0da507a1a371f2cad4a3f1c
null
169668
https://github.com/llvm/llvm-project/issues/169668
crash
135ddf1e8efef7c8ac9b01caa660210e3ca12327
2025-11-26T15:29:51
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "b76089c7f3d6593d2e2c83db7dbf4965b656bd8c", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit b76089c7f3d6593d2e2c83db7dbf4965b656bd8c Author: Florian Hahn <flo@fhahn.com> Date: Fri Nov 28 10:26:27 2025 +0000 [VPlan] Skip uses-scalars restriction if one of ops needs broadcast. (#168246) Update the logic in narrowToSingleScalar to allow narrowing even if not all users use scalars, if a...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll", "commands": [ "opt -p loop-vectorize -S %s", "opt -p loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -S %s" ], "tests": [ { "test_name": "multiple_exit_condit...
{ "title": "[LV] Assert \"Expected at least one loop-variant operand\"", "body": "This IR:\n\n```\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32\"\ntarget triple = \"aarch64-unknown-linux-gnu\"\n\ndefine i16 @_Z4testsisjyjybtjjxbxtthiPjPbS_PA25_A25_y...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
89672
https://github.com/llvm/llvm-project/issues/89672
miscompilation
b64e483785bfef5ec4977988543ed5cfaf62f306
2024-04-22T21:35:16
[ "llvm/test/Transforms/SimplifyCFG" ]
{ "fix_commit": "883887493c882d656d5da100ee637a348e81357c", "components": [ "SimplifyCFG" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 883887493c882d656d5da100ee637a348e81357c Author: Nikita Popov <npopov@redhat.com> Date: Tue Apr 23 12:36:35 2024 +0900 [SimplifyCFG] Check alignment when speculating stores When speculating a store based on a preceding load/store, we need to ensure that the speculated store does not have a hi...
[ { "file": "llvm/test/Transforms/SimplifyCFG/speculate-store.ll", "commands": [ "opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s" ], "tests": [ { "test_name": "wrong_align_store", "test_body": "define void @wrong_align_store(ptr %A, i32 %B, i32 ...
{ "title": "coalescing of redundant vector stores isn't preserving alignment correctly", "body": "https://alive2.llvm.org/ce/z/-qQphe\r\n\r\noptimizing this code:\r\n```llvm\r\ndefine i32 @f(ptr %0, i1 %1) {\r\n store <2 x i64> zeroinitializer, ptr %0, align 8\r\n br i1 %1, label %4, label %3\r\n\r\n3: ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
112068
https://github.com/llvm/llvm-project/issues/112068
miscompilation
b24acc06e1d465b3e3e4e28515dd437f6a7454f2
2024-10-12T02:41:57
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "a59976bea8ad76f18119a11391dc8ba3e6ba07d5", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit a59976bea8ad76f18119a11391dc8ba3e6ba07d5 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Tue Nov 19 20:06:34 2024 +0800 [InstCombine] Drop noundef attributes in `foldCttzCtlz` (#116718) Closes https://github.com/llvm/llvm-project/issues/112068. diff --git a/llvm/lib/Transforms/InstCombine/In...
[ { "file": "llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll", "commands": [ "opt < %s -passes=instcombine -S" ], "tests": [ { "test_name": "shl_cttz_false_multiuse", "test_body": "define i32 @shl_cttz_false_multiuse(i32 %x, i32 %y) {\nentry:\n %cttz = call i32 @llvm.c...
{ "title": "[InstCombine] `noundef` attribute should be dropped after setting `is_zero_poison` to true", "body": "Reproducer: https://alive2.llvm.org/ce/z/7-TgAf\r\n```\r\ndefine i32 @src(i32 %x, i32 %y) {\r\nentry:\r\n %cttz = call noundef i32 @llvm.cttz.i32(i32 %y, i1 false)\r\n %res = lshr i32 %x, %cttz\r\n r...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
83d178843f4322159b6469f430a8a241b8672d6d
null
137152
https://github.com/llvm/llvm-project/issues/137152
crash
224cd50e005a9215e8c528d5ce68d4fcdfcdb98f
2025-04-24T10:47:46
[ "llvm/test/Transforms/GlobalOpt" ]
{ "fix_commit": "57530c23a53b5e003d389437637f61c5b9814e22", "components": [ "GlobalOpt" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp":...
commit 57530c23a53b5e003d389437637f61c5b9814e22 Author: Nikita Popov <npopov@redhat.com> Date: Thu Apr 24 15:15:47 2025 +0200 [GlobalOpt] Do not promote malloc if there are atomic loads/stores (#137158) When converting a malloc stored to a global into a global, we will introduce an i1 flag to track ...
[ { "file": "llvm/test/Transforms/GlobalOpt/malloc-promote-atomic.ll", "commands": [ "opt -passes=globalopt -S < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n@g = internal global ptr null, align 8\n\ndefine void @init() {\n;\n %alloc = call ptr @malloc(i64 ...
{ "title": "[GlobalOpt] Incorrect change of atomic type", "body": "```llvm\n; RUN: opt -S -passes=globalopt\n@g = internal global ptr null, align 8\n\ndefine void @init() {\n %alloc = call ptr @malloc(i64 48)\n store atomic ptr %alloc, ptr @g seq_cst, align 8\n ret void\n} \n\ndefine i1 @check() {\n %val = load...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
157714
https://github.com/llvm/llvm-project/issues/157714
miscompilation
924bf242c8e0ef61544471488eb9e729dda72a50
2025-09-09T17:00:35
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "dcdbb39786a56181e1612354ecb8ecf5a7b0f449", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit dcdbb39786a56181e1612354ecb8ecf5a7b0f449 Author: Nikita Popov <npopov@redhat.com> Date: Wed Sep 10 15:57:27 2025 +0200 [InstCombine] Use intersectForOffsetAdd() in CommonPointerBase (#157851) Transforms using this helper will add up all the offsets, so we should use intersectForOffsetAdd() in...
[ { "file": "llvm/test/Transforms/InstCombine/icmp-gep.ll", "commands": [ "opt -passes=instcombine -S < %s" ], "tests": [ { "test_name": "gep_mugtiple_ugt_not_all_nuw", "test_body": "target datalayout = \"e-p:64:64:64-p1:16:16:16-p2:32:32:32-p3:64:64:64-i1:8:8-i8:8:8-i16:1...
{ "title": "[InstCombine] Miscompilation in foldGEPICmp", "body": "Reproducer: https://alive2.llvm.org/ce/z/SLybDz\n```\ndefine i1 @gep_mugtiple_ugt_inbounds_nusw(ptr %base, i64 %idx, i64 %idx2) {\n %gep1 = getelementptr inbounds i8, ptr %base, i64 %idx\n %gep2 = getelementptr nusw i8, ptr %gep1, i64 %idx2\n %cm...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
83272a48493948c5190be00e7e734a0335be86f8
null
157238
https://github.com/llvm/llvm-project/issues/157238
miscompilation
18507a7a6bf1c82e2614b3995320ebab8dd60ef2
2025-09-06T06:55:06
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "ea59be552f1db4f8f2e8a3edd909f17802339970", "components": [ "ValueTracking" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit ea59be552f1db4f8f2e8a3edd909f17802339970 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Tue Sep 16 20:59:42 2025 +0800 [ValueTracking] Don't take sign bit from NaN operands (#157250) Closes https://github.com/llvm/llvm-project/issues/157238. diff --git a/llvm/lib/Analysis/ValueTracking.cpp ...
[ { "file": "llvm/test/Transforms/InstCombine/is_fpclass.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "minnum_qnan", "test_body": "define i1 @minnum_qnan(i32 %x) {\nentry:\n %qnan_bits = or i32 %x, -5938\n %qnan = bitcast i32 %qnan_bit...
{ "title": "[InstCombine] Wrong folding of is.fpclass + minnum", "body": "Reproducer: https://alive2.llvm.org/ce/z/zTqnNp\n```\n; bin/opt -passes=instcombine test.ll -S\ndefine i1 @src(i32 %x) {\nentry:\n %or102.i.i = or i32 %x, -5938\n %0 = bitcast i32 %or102.i.i to float\n %1 = call float @llvm.minnum.f32(floa...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
369d8148e09c2b91174ec01e845bc504cf622c45
null
142462
https://github.com/llvm/llvm-project/issues/142462
crash
4c6449044a943441adf160cb77010c855dcee73c
2025-06-02T19:36:30
[ "llvm/test/Transforms/EarlyCSE" ]
{ "fix_commit": "9a0197c3a443caf275a9b1b86669b398ea615c9f", "components": [ "EarlyCSE" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp": ...
commit 9a0197c3a443caf275a9b1b86669b398ea615c9f Author: Nikita Popov <npopov@redhat.com> Date: Wed Jun 4 09:04:27 2025 +0200 [EarlyCSE] Check attributes for commutative intrinsics (#142610) Commutative intrinsics go through a separate code path, which did not check for attribute compatibility, resul...
[ { "file": "llvm/test/Transforms/EarlyCSE/replace-calls-def-attrs.ll", "commands": [ "opt -S -passes=early-cse < %s" ], "tests": [ { "test_name": "same_parent_combine_diff_attrs_needs_intersect2", "test_body": "declare ptr @baz.ptr(i8, i8)\n\ndeclare i8 @buz.ptr(ptr, ptr)...
{ "title": "Compiler asserts running pass \"early-cse<memssa>\"", "body": "Consider a testcase like that:\n```\n; ModuleID = 'test.bc'\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-sie-ps5\"\n\n; Function Attrs: nocallback nofree n...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
b98c405f954f9ef6150c655f6ffc68e377d2ac84
null
112460
https://github.com/llvm/llvm-project/issues/112460
miscompilation
65cf7afb6d9d8c6137b90d909ee4fcf251439f48
2024-10-16T01:34:25
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "e56e9dd8adca2e86f22783bf5e745ee1ba7ead5f", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 14953, 14958 ], [ 17095, 17100 ] ], "llvm/lib/Transforms/InstComb...
commit e56e9dd8adca2e86f22783bf5e745ee1ba7ead5f Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Oct 18 13:32:41 2024 -0700 [SLP]Fix minbitwidth emission and analysis for freeze instruction Need to add minbw emission and analysis for freeze instruction to fix incorrect signedness propagation. ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/freeze-signedness-missed.ll", "commands": [ "opt -S --passes=slp-vectorizer < %s" ], "tests": [ { "test_name": "test", "test_body": "define i32 @test(i1 %.b, i8 %conv18, i32 %k.promoted61) {\n %not..b79 = xor i1 %.b, true\n ...
{ "title": "[SLPVectorizer] Miscompilation at -O2", "body": "Reproducer: https://alive2.llvm.org/ce/z/Tw0oUm\r\n```\r\n; bin/opt -passes=slp-vectorizer test.ll -S\r\ndefine i32 @src(i1 %.b, i8 %conv18, i32 %k.promoted61) {\r\n %not..b79 = xor i1 %.b, true\r\n %3 = zext i1 %not..b79 to i8\r\n %cmp.i51 = icmp eq i...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
bb82c79d3b6b3c062890c2cb01fcb183d4f50d27
null
91957
https://github.com/llvm/llvm-project/issues/91957
miscompilation
c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
2024-05-13T13:05:21
[ "llvm/test/Transforms/LICM" ]
{ "fix_commit": "70091dc943ade280d75cea1e5ea5e93d9a8f934a", "components": [ "LICM" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp": null...
commit 70091dc943ade280d75cea1e5ea5e93d9a8f934a Author: Antonio Frighetto <me@antoniofrighetto.com> Date: Sat May 18 16:52:17 2024 +0200 [LICM] Invalidate cached SCEV results in `hoistMulAddAssociation` While reassociating expressions, LICM is required to invalidate SCEV results, as otherwise subseq...
[ { "file": "llvm/test/Transforms/LICM/update-scev-after-hoist.ll", "commands": [ "opt -S -passes='loop-unroll,loop-mssa(licm,indvars)' -unroll-count=4 < %s 2>&1" ], "tests": [ { "test_name": "main", "test_body": "define i16 @main() {\nentry:\n br label %loop\n\nloop: ...
{ "title": "Miscompile with opt -passes=\"loop-unroll,loop-mssa(licm,indvars)\" -unroll-count=4 ", "body": "llvm commit: e76b257483e6c\r\nReproduce with:\r\n```opt -passes=\"loop-unroll,loop-mssa(licm,indvars)\" -unroll-count=4 bbi-95405.ll -S -o -```\r\n\r\nThe input function returns 32768, but after running the p...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
2dd52046816ac706a25d588efac77705793d8778
null
162799
https://github.com/llvm/llvm-project/issues/162799
crash
5e3ac2a6f22aa4d1d055c2d430913a960b9bb60b
2025-10-10T08:07:13
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "d81ffd4ebb45235b4d106f6a0d5e5032bad41018", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 20076, 20082 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit d81ffd4ebb45235b4d106f6a0d5e5032bad41018 Author: Alexey Bataev <a.bataev@outlook.com> Date: Sun Oct 12 13:15:15 2025 -0700 [SLP]INsert postponed vector value after all uses, if the parent node is PHI Need to insert the vector value for the postponed gather/buildvector node after all uses non ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/parent-phi-node-reordered.ll", "commands": [ "opt -passes=slp-vectorizer -S -slp-threshold=-99999 -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine void @test(i32 %arg,...
{ "title": "Instruction does not dominate all uses, LLVM ERROR: Broken module found, compilation aborted! Yet another", "body": "To reproduce run opt with the following test, using -passes=slp-vectorizer -slp-threshold=-99999 \n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
2d7b55a028139dde58a994a65895841190dfde96
null
126012
https://github.com/llvm/llvm-project/issues/126012
miscompilation
52a02b6d1e0c6b492495ff79a3a06ce93e6180b8
2025-02-06T05:45:23
[ "llvm/test/Transforms/IndVarSimplify" ]
{ "fix_commit": "7aed53eb1982113e825534f0f66d0a0e46e7a5ed", "components": [ "ScalarEvolution" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine...
commit 7aed53eb1982113e825534f0f66d0a0e46e7a5ed Author: Nikita Popov <npopov@redhat.com> Date: Mon Feb 10 10:07:21 2025 +0100 [ScalarEvolution] Handle addrec incoming value in isImpliedViaMerge() (#126236) The code already guards against values coming from a previous iteration using properlyDominate...
[ { "file": "llvm/test/Transforms/IndVarSimplify/pr126012.ll", "commands": [ "opt -S -passes=indvars < %s" ], "tests": [ { "test_name": "test", "test_body": "define i32 @test() {\nentry:\n br label %for.preheader\n\nfor.preheader: ; preds...
{ "title": "[IndVarSimplify] Miscompilation at O2", "body": "Reproducer: https://alive2.llvm.org/ce/z/UTnMBe\n```\n; bin/opt -passes=indvars reduced.ll -S\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\n@.str =...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
16370e02a715717dd585537f02eb3e3a3221637e
null
125301
https://github.com/llvm/llvm-project/issues/125301
crash
4f381d0be845a8702c89a0a7f4bd9188e1ff60a3
2025-01-31T21:43:25
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "75b922dccfc35ec25a520b1941e6682a300802b8", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 75b922dccfc35ec25a520b1941e6682a300802b8 Author: Florian Hahn <flo@fhahn.com> Date: Sat Feb 1 21:40:58 2025 +0000 [VPlan] Check VPWidenIntrinsicSC in VPRecipeWithIRFlags::classof. When VPWidenIntrinsicRecipe was changed to inhert from VPRecipeWithIRFlags, VPRecipeWithIRFlags::classof wasn't u...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/drop-poison-generating-flags.ll", "commands": [ "opt -p loop-vectorize -mcpu=neoverse-v2 -force-vector-width=4 -S %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ntarget triple = \"aarch64-unknown-linux\"\n...
{ "title": "[vplan] Assertion: found instruction with poison generating flags not covered by VPRecipeWithIRFlags", "body": "```\nclang++ -O3 -mcpu=neoverse-v2 -c reduced.ll\n\nclang++: llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:1926: llvm::VPlanTransforms::dropPoisonGeneratingRecipes(llvm::VPlan&, const std:...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
82c93b6f19bf9db75ac6e4100b9f1b4f2a7df67f
null
107036
https://github.com/llvm/llvm-project/issues/107036
crash
70a19adbc60c738903bbbb8e6d5ef2d41b681089
2024-09-03T01:22:22
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "f381cd069965dabfeb277f30a4e532d7fd498f6e", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 16055, 16069 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit f381cd069965dabfeb277f30a4e532d7fd498f6e Author: Alexey Bataev <a.bataev@outlook.com> Date: Tue Sep 3 04:52:47 2024 -0700 [SLP]Fix PR107036: Check if the type of the user is sizable before requesting its size. Only some instructions should be considered as potentially reducing the size of the...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/minbw-user-non-sizable.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s -slp-threshold=-100" ], "tests": [ { "test_name": "test", "test_body": "define void @test(ptr %i) {\nbb:\n %...
{ "title": "[SLP] Cannot getTypeInfo() on a type that is unsized!", "body": "I tried the following IR with SLP:\r\n\r\n```llvm\r\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\"\r\ntarget triple = \"x86_64-unknown-linux-gnu\"\r\n\r\ndefine void @foo(ptr %i) {\...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
f6e01b9ece1e73f6eda6e1dbff3aa72e917f4007
null
109835
https://github.com/llvm/llvm-project/issues/109835
crash
79ecb814d0c929a66ad92c7b3e91191f01247ac1
2024-09-24T17:26:42
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "cc01112660499a4db74bc3ee24b6f60b03d88dbd", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 11786, 11792 ], [ 11794, 11799 ] ], "llvm/lib/Transforms/InstComb...
commit cc01112660499a4db74bc3ee24b6f60b03d88dbd Author: Han-Kuan Chen <hankuan.chen@sifive.com> Date: Tue Oct 1 19:15:58 2024 +0800 [SLP][REVEC] getTypeSizeInBits should apply to scalar type instead of FixedVectorType. (#110610) reference: https://github.com/llvm/llvm-project/issues/109835 diff --git a...
[ { "file": "llvm/test/Transforms/SLPVectorizer/SystemZ/revec-fix-109835.ll", "commands": [ "opt -mtriple=s390x-unknown-linux -mcpu=z16 -passes=slp-vectorizer -S -slp-revec %s" ], "tests": [ { "test_name": "func_1", "test_body": "@g_3_1_0 = external dso_local global i32, al...
{ "title": "[SLP vectorizer] Assertion fails with slp-revec", "body": "[tc_slp_revec.tar.gz](https://github.com/user-attachments/files/17118250/tc_slp_revec.tar.gz)\r\n\r\nopt -mtriple=systemz-unknown -mcpu=z16 -O3 -o out.ll tc_crash22_aftercreduce.ll -slp-revec\r\n\r\nType.cpp:691: static llvm::FixedVectorType* ll...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
174041
https://github.com/llvm/llvm-project/issues/174041
miscompilation
a53dbe29d74dcab17078f9699e4a8c9f02ece0c3
2025-12-31T00:06:02
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "2541b1870e7c90236b4010eec9a020c048f8beea", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 1217, 1223 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 2541b1870e7c90236b4010eec9a020c048f8beea Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Dec 31 07:22:08 2025 -0800 [SLP]Mark and incompatible for 'xor %a, 0' operations Xor with 0 is incompatible with and, which resulst in all zero instead of %a https://alive2.llvm.org/ce/z/o...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/xor-with-zero-and-incompat.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s -slp-threshold=-100" ], "tests": [ { "test_name": "src_test_xor_and_identity_mismatch", "test_body": "def...
{ "title": "[SLP] Miscompile when vectorizing `xor x, 0` with `and y, -1`", "body": "In https://github.com/llvm/llvm-project/commit/1f82553e385f449efee92da3dca43facb4a1ee66, SLPVectorizer may incorrectly vectorize a pair of identity operations `xor x, 0` and `and y, -1` into a single vector and instruction. Because...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
113869
https://github.com/llvm/llvm-project/issues/113869
miscompilation
c752efbdcc1ebd81f879633d6b798248064e2ae2
2024-10-28T06:34:27
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "e577f14b670ee2ae6bb717133310b215be4331b3", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit e577f14b670ee2ae6bb717133310b215be4331b3 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Fri Nov 1 22:18:44 2024 +0800 [InstCombine] Use `m_NotForbidPoison` when folding `(X u< Y) ? -1 : (~X + Y) --> uadd.sat(~X, Y)` (#114345) Alive2: https://alive2.llvm.org/ce/z/mTGCo- We cannot reuse `~...
[ { "file": "llvm/test/Transforms/InstCombine/saturating-add-sub.ll", "commands": [ "opt < %s -passes=instcombine -S" ], "tests": [ { "test_name": "uadd_sat_not_commute_select", "test_body": "define i32 @uadd_sat_not_commute_select(i32 %x, i32 %y) {\n %notx = xor i32 %x, -...
{ "title": "Poison value wrongly propagates through vector operations on an optimized code", "body": "https://github.com/llvm/llvm-project/blob/5d4a0d54b5269bad1410e6db957836fe98634069/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp#L1050-L1060\r\n\r\nAlive2 report: https://alive2.llvm.org/ce/z/6tSdhb\r\n\r\n...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
128600
https://github.com/llvm/llvm-project/issues/128600
crash
495774d6d59379edad3c8c35be8c4672d4a513fa
2025-02-24T23:53:48
[ "llvm/test/Transforms/LoopFusion" ]
{ "fix_commit": "90de4a4ac96ef314e3af9c43c516d5aaf105777a", "components": [ "LoopFuse" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp": ...
commit 90de4a4ac96ef314e3af9c43c516d5aaf105777a Author: Madhur Amilkanthwar <madhura@nvidia.com> Date: Mon Jul 28 12:08:43 2025 +0530 [LoopFusion] Fix sink instructions (#147501) If we have instructions in second loop's preheader which can be sunk, we should also be adjusting PHI nodes to receive va...
[ { "file": "llvm/test/Transforms/LoopFusion/sunk-phi-nodes.ll", "commands": [ "opt -passes=loop-fusion -S < %s 2>&1" ], "tests": [ { "test_name": "<module>", "test_body": "define dso_local i32 @check_sunk_phi_nodes() {\n;\nentry:\n br label %for.body\n\nfor.body: ...
{ "title": "[Clang] Optimization LoopFuse.cpp crashes on valid LLVM IR. Assertion `!verifyFunction(*FC0.Header->getParent(), &errs())' failed.", "body": "To reproduce: https://godbolt.org/z/zMEsM448G\n`opt -passes=mem2reg,loop-rotate,loop-fusion {test}` crashes on the LLVMIR generated from `clang -O0` because of an...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
Cannot find a good commit
null
84051
https://github.com/llvm/llvm-project/issues/84051
crash
b64482e23eefaef7738fde35d0b7c4174aaa6597
2024-03-05T17:59:45
[ "llvm/test/Transforms/DeadStoreElimination" ]
{ "fix_commit": "eb8f379567e8d014194faefe02ce92813e237afc", "components": [ "DeadStoreElimination" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCo...
commit eb8f379567e8d014194faefe02ce92813e237afc Author: Florian Hahn <flo@fhahn.com> Date: Wed Mar 6 20:08:00 2024 +0000 [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157) Not removing the malloc from earliest escape info leaves stale entries in the cache. Fixes https://g...
[ { "file": "llvm/test/Transforms/DeadStoreElimination/malloc-earliest-escape-info-invalidation.ll", "commands": [ "opt -p dse -S %s" ], "tests": [ { "test_name": "widget", "test_body": "target datalayout = \"E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64\"\n\nd...
{ "title": "[DSE] crash", "body": "Reduced test case:\r\n[tc_dse.tar.gz](https://github.com/llvm/llvm-project/files/14499403/tc_dse.tar.gz)\r\n\r\nopt -mtriple=s390x-unknown-linux -mcpu=z16 -O3 -S ./tc_dse.ll\r\n\r\n#6 0x0000000005287456 llvm::BasicAAResult::aliasCheck\r\n#11 0x00000000048f0646 (anonymous namespace...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
5f57ad85a1a7c46eb43eee3c7d93b11d8fd7fcfa
null
160356
https://github.com/llvm/llvm-project/issues/160356
crash
fc3a27ff4752bfb8e664e578f686f6030df0147a
2025-09-23T18:25:53
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "88aab08ae5682a21edef71b814e5ebc05e7a9450", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 88aab08ae5682a21edef71b814e5ebc05e7a9450 Author: Florian Hahn <flo@fhahn.com> Date: Tue Sep 23 21:54:02 2025 +0100 [LV] Check for hoisted safe-div selects in planContainsAdditionalSimp. In some cases, safe-divisor selects can be hoisted out of the vector loop. Catching all cases in the legacy...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/predicated-costs.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "srem_sdiv_with_tail_folding", "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32...
{ "title": "[LV] \" VPlan cost model and legacy cost model disagreed\" regression on Neoverse-V2", "body": "Similar to #160345, which was for Neoverse-V1...\n\nWe're seeing a good number of downstream ICEs from a change around 2025-09-22. Here is one reduced issue from Neoverse-V2:\n\n```\nscrubbed:$ cat test.ll\nt...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
addfdb5273170901ed4fec5dac421e0559466ffb
null
115149
https://github.com/llvm/llvm-project/issues/115149
miscompilation
0f44d72e0ee74970cf696ff4c791f63e0c3fa9b4
2024-11-06T11:22:14
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "929cbe7f596733f85cd274485acc19442dd34a80", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 929cbe7f596733f85cd274485acc19442dd34a80 Author: Antonio Frighetto <me@antoniofrighetto.com> Date: Tue Nov 12 19:02:04 2024 +0100 [InstCombine] Intersect nowrap flags between geps while folding into phi A miscompilation issue has been addressed with refined checking. Fixes: https://githu...
[ { "file": "llvm/test/Transforms/InstCombine/opaque-ptr.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "phi_of_gep_flags_1", "test_body": "define ptr @phi_of_gep_flags_1(i1 %c, ptr %p) {\n br i1 %c, label %if, label %else\n\nif: ...
{ "title": "[clang] Miscompile with -O3 and -O0/1/2 since 18.1.0", "body": "When I compiled this code with -O0/1/2, its output is 0. However, with -O3, it returned 143:\r\n\r\n```c\r\nint printf(const char *, ...);\r\nchar a, b;\r\nint c;\r\nchar *e = &b;\r\nint f(char *g, int *k) {\r\n char *d = g + *k;\r\n for ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
168512
https://github.com/llvm/llvm-project/issues/168512
crash
4e275f727439af9589ee54bc6ac2e95fac9f63ae
2025-11-18T10:58:39
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "2c3aa92089695713a1fd4264e80941fd9679150b", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 2082, 2087 ], [ 4593, 4598 ], [ 17894, 17899 ...
commit 2c3aa92089695713a1fd4264e80941fd9679150b Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Nov 19 11:42:18 2025 -0800 [SLP]Fix insertion point for setting for the nodes The problem with the many def-use chain problems in SLP vectorizer are related to the fact that some nodes reuse the sa...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/gathered-node-with-in-order-parent.ll", "commands": [ "opt -passes=slp-vectorizer -S -slp-threshold=-99999 -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "test", "test_body": "define double @test() {\...
{ "title": "Instruction does not dominate all uses!...LLVM ERROR: Broken module found, compilation aborted! (once again)", "body": "To reproduce run opt with the test below (-passes=slp-vectorizer -slp-threshold=-99999):\n\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
null
null
83127
https://github.com/llvm/llvm-project/issues/83127
hang
7a0acccd81df268dc7ad4c0358c42552789f19b4
2024-02-27T12:20:45
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "9f45c5e1a65a1abf4920b617d36ed05e73c04bea", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 9f45c5e1a65a1abf4920b617d36ed05e73c04bea Author: Nikita Popov <npopov@redhat.com> Date: Wed Mar 6 09:33:51 2024 +0100 [InstCombine] Fix infinite loop in select equivalence fold (#84036) When replacing with a non-constant, it's possible that the result of the simplification is actually more co...
[ { "file": "llvm/test/Transforms/InstCombine/select.ll", "commands": [ "opt < %s -passes=instcombine -S" ], "tests": [ { "test_name": "select_replacement_shift_noundef", "test_body": "target datalayout = \"e-p:64:64-p1:16:16-p2:32:32:32-p3:64:64:64\"\n\ndefine i8 @select_r...
{ "title": "[InstCombine] InstCombine gets stuck when simplifying selects", "body": "Reduced test case: https://godbolt.org/z/ds9eq96db\r\n```\r\ndefine i16 @func(i16 noundef %p_12) {\r\nentry:\r\n %cmp1 = icmp ult i16 %p_12, 2\r\n %and1 = and i16 %p_12, 1\r\n %and2 = select i1 %cmp1, i16 %and1, i16 0\r\n %cmp2...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
N/A
null
154045
https://github.com/llvm/llvm-project/issues/154045
crash
c24c23d9ab66e9a1bf6bb3468cdfe39f22872362
2025-08-18T02:12:52
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "144736b07e03f27888860f6ad7aa13a77f7c9731", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 144736b07e03f27888860f6ad7aa13a77f7c9731 Author: Luke Lau <luke@igalia.com> Date: Tue Aug 19 12:10:53 2025 +0800 [VPlan] Don't fold live ins with both scalar and vector operands (#154067) If we end up with a extract_element VPInstruction where both operands are live-ins, we will try to fold t...
[ { "file": "llvm/test/Transforms/LoopVectorize/pr154045-dont-fold-extractelement-livein.ll", "commands": [ "opt -p loop-vectorize -force-vector-width=2 -force-widen-divrem-via-safe-divisor=false -S %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Make sure we...
{ "title": "[LoopVectorize] Assertion `isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"' failed.", "body": "Reproducer:\n```\n; bin/opt -passes=loop-vectorize reduced.ll -S\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...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
351d398a37d8545d8722ba36ad364067e94a69df
null
98435
https://github.com/llvm/llvm-project/issues/98435
miscompilation
0e124537aabea0d18e030226a3ca4c6f494c1322
2024-07-11T06:06:08
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "9304af3927caecdb43d3a9b5d16c6a5b7a6b5594", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": [ [ 1735, 1751 ] ], "l...
commit 9304af3927caecdb43d3a9b5d16c6a5b7a6b5594 Author: Jorge Botto <23462171+jf-botto@users.noreply.github.com> Date: Fri Aug 9 11:52:56 2024 +0100 [InstCombine] Fixing wrong select folding in vectors with undef elements (#102244) This PR fixes https://github.com/llvm/llvm-project/issues/98435. `Si...
[ { "file": "llvm/test/Transforms/InstCombine/pr98435.ll", "commands": [ "opt -S -passes=instcombine < %s 2>&1" ], "tests": [ { "test_name": "pr98435", "test_body": "define <2 x i1> @pr98435(<2 x i1> %val) {\n %val1 = select <2 x i1> <i1 undef, i1 true>, <2 x i1> splat (i1...
{ "title": "Wrong select folding for undef conditions by InstCombine", "body": "https://github.com/llvm/llvm-project/blob/7eae9bb856135136cddc4208a2b1546e9db44c9c/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp#L3582-L3585\r\n\r\nAlive2 report: https://alive2.llvm.org/ce/z/Qtu72J\r\n\r\n\r\n```ll\r\n---------...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
d9a5aa8e2d755643cf4e7fa86aa831ed226fe54d
null
153571
https://github.com/llvm/llvm-project/issues/153571
crash
177f27d22092cb64e871e6cd2f8981d24e823186
2025-08-14T12:31:06
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "d57ab276b659c960fda8c0bb349648c4d266796e", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 20796, 20801 ], [ 20891, 20896 ], [ 20930, 20940 ...
commit d57ab276b659c960fda8c0bb349648c4d266796e Author: Alexey Bataev <a.bataev@outlook.com> Date: Thu Aug 14 08:27:19 2025 -0700 [SLP] Recalculate cleared deps for potential control schedule data nodes Need to recalculate the dependencies for all potential control data schedule nodes to prevent com...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/control-deps-schedule-data-recalculate.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine i32 @test(i32 %mul) {\n;\nen...
{ "title": "clang crashes at -O{s,2,3} on x86_64-linux-gnu: Assertion `hasValidDependencies() && \"increment of unscheduled deps would be meaningless\"' failed", "body": "Compiler Explorer: https://godbolt.org/z/cz7cYaTEK\n\nIt is related to the recently fixed https://github.com/llvm/llvm-project/issues/153289. \n\...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
2d7b55a028139dde58a994a65895841190dfde96
null
165878
https://github.com/llvm/llvm-project/issues/165878
miscompilation
d310693bde68b49cdb5c5877aadffb41d35c45fb
2025-10-31T15:52:06
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "964c7711f4384b08f051d17da888d35d03a3024a", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 22134, 22139 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 964c7711f4384b08f051d17da888d35d03a3024a Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Oct 31 15:07:26 2025 -0700 [SLP]Fix the minbitwidth analysis for slternate opcodes If the laternate operation is more stricter than the main operation, we cannot rely on the analysis of the main op...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/alternate-opcode-strict-bitwidth-than-main.ll", "commands": [ "opt -passes=slp-vectorizer -S -slp-threshold=-99999 -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "test", "test_body": "define float @te...
{ "title": "[SLPVectorizer] Miscompile in slp vectorizer (shift produces poison)", "body": "SLPVectorizer (`opt -passes=slp-vectorizer -slp-threshold=-99999`) turns the following IR:\n```llvm\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine float @foo(i8 %0) {\nentry:\n %1 = sext i8 0 to i32\n %2 = lshr i3...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
131465
https://github.com/llvm/llvm-project/issues/131465
miscompilation
baab447aadd59b34bd838584b16d11475329853f
2025-03-15T18:15:27
[ "llvm/test/Analysis/ScalarEvolution", "llvm/test/Transforms/LoopUnroll" ]
{ "fix_commit": "c5a491e9ea22014b65664b6e09134b4f055933e2", "components": [ "ScalarEvolution" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine...
commit c5a491e9ea22014b65664b6e09134b4f055933e2 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Mon Mar 17 13:59:16 2025 +0800 [SCEV] Check whether the start is non-zero in `ScalarEvolution::howFarToZero` (#131522) https://github.com/llvm/llvm-project/pull/94525 assumes that the loop will be inf...
[ { "file": "llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll", "commands": [ "opt < %s -disable-output \"-passes=print<scalar-evolution>\" -scalar-evolution-classify-expressions=0 2>&1" ], "tests": [ { "test_name": "ne_nuw_nonneg_step", "test_body": "target ...
{ "title": "[clang] Miscompilation at -O2/3", "body": "This code prints 80 at `-O2/3` and 0 at `-O0/1`:\n\n```c\nint printf(const char *, ...);\nint a, b;\nvoid c(char d) { a = d; }\nint main() {\n int e = 82, f = 20;\n for (; 85 + 20 + e - 187 + f; f = 65535 + 20 + e - 65637)\n if (b)\n e++;\n c(e >> 24...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
151686
https://github.com/llvm/llvm-project/issues/151686
crash
55c2b273ea5d3b949c6431d429a4da20612d9808
2025-08-01T10:41:30
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "eee9755881bf39bc15e6e05697abbbfabb51cb78", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit eee9755881bf39bc15e6e05697abbbfabb51cb78 Author: Florian Hahn <flo@fhahn.com> Date: Fri Aug 1 20:54:38 2025 +0100 [LV] Refine check to find epilogue IV resume value. Make sure to check that the vector trip count is containedin the list of incoming values to serve as tie-breaker with phis with...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/epilog-vectorization-inductions.ll", "commands": [ "opt -passes=loop-vectorize -mcpu=znver2 -S %s" ], "tests": [ { "test_name": "multiple_inductions_start_at_0", "test_body": "target triple = \"x86_64-unknown-linux-gnu\"\n...
{ "title": "Assertion `EPResumeVal && \"must have a resume value for the canonical IV\"' failed.", "body": "To reproduce run opt with the test below using -passes=loop-vectorize:\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:6...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
d3bc834ece48cb993fcabcf20311bdcc9e591a21
null
169334
https://github.com/llvm/llvm-project/issues/169334
crash
4d7abe535512e1076ff7e5fea14afde29615a8ed
2025-11-24T14:50:59
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "17677ad7eb2b2391d61c976887bbd2616e7d6c3e", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 17677ad7eb2b2391d61c976887bbd2616e7d6c3e Author: David Sherwood <david.sherwood@arm.com> Date: Mon Dec 1 08:12:41 2025 +0000 [LV] Don't create WidePtrAdd recipes for scalar VFs (#169344) While attempting to remove the use of undef from more loop vectoriser tests I discovered a bug where this ...
[ { "file": "llvm/test/Transforms/LoopVectorize/iv_outside_user.ll", "commands": [ "opt -S -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=2 < %s", "opt -S -passes=loop-vectorize -force-vector-interleave=2 -force-vector-width=1 < %s" ], "tests": [ { "tes...
{ "title": "[LV] Constant::getSplatValue: Assertion `this->getType()->isVectorTy() && \"Only valid for vectors!\"' failed.", "body": "While trying to rewrite the test 'both' in test/Transforms/LoopVectorize/iv_outside_user.ll to look like this:\n\n```\ndefine ptr @both(ptr %p, i32 %k) {\nentry:\n %base = geteleme...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
119173
https://github.com/llvm/llvm-project/issues/119173
miscompilation
ab77db03ce28e86a61010e51ea13796ea09efc46
2024-12-09T07:19:06
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "30f3752e54fa7cd595a434a985efbe9a7abe9b65", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 30f3752e54fa7cd595a434a985efbe9a7abe9b65 Author: Florian Hahn <flo@fhahn.com> Date: Mon Feb 3 17:01:02 2025 +0000 [VPlan] Only use SCEV for live-ins in tryToWiden. (#125436) Replacing a recipe with a live-in may not be correct in all cases, e.g. when replacing recipes involving header-phi rec...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/mul-simplification.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "mul_select_operand_known_1_via_scev", "test_body": "target triple = \"arm64-apple-macosx\"\n\ndefine i64 @mul_select_ope...
{ "title": "[clang] Miscompilation at -O3", "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] - -...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
6d6eea92e36c301e34a7ec11b2a40e3080f79f53
null
111040
https://github.com/llvm/llvm-project/issues/111040
crash
b3e0bd3d284dec705386b1efcae40dd51b763010
2024-10-03T18:42:52
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "45b526afa26e76e0c351e947ac8f0e4b55aa760b", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 45b526afa26e76e0c351e947ac8f0e4b55aa760b Author: Florian Hahn <flo@fhahn.com> Date: Sun Oct 6 10:34:37 2024 +0100 [LV] Honor uniform-after-vectorization in setVectorizedCallDecision. The legacy cost model always computes the cost for uniforms as cost of VF = 1, but VPWidenCallRecipes would be...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/replicate-uniform-call.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "smax_call_uniform", "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n...
{ "title": "[clang] Assertion failed in LoopVectorize.cpp:7401", "body": "When I compiled the code with -O2 flag, it crashed:\r\n\r\n```c\r\n#include <stdint.h>\r\nstatic uint8_t b = 188;\r\nvoid c();\r\nlong d(int e, int p2, short j) {\r\n long f = 0, a = 1;\r\n unsigned long g;\r\n int h;\r\n if (e < 0 || j <...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
9ccf82543d509bb5a0f5d0551fc4d6c1913b9a9b
null
108700
https://github.com/llvm/llvm-project/issues/108700
crash
4c6f313cb340c435f47ac032857030768c81c341
2024-09-14T13:45:54
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "f564a48f0ea4d2100c0cadfa6e6f20f97244025e", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 7481, 7487 ], [ 7492, 7506 ] ], "llvm/lib/Transforms/InstCombine/...
commit f564a48f0ea4d2100c0cadfa6e6f20f97244025e Author: Alexey Bataev <a.bataev@outlook.com> Date: Mon Sep 16 09:19:42 2024 -0700 [SLP]Fix PR108700: correctly identify id of the operand node If the operand node for truncs is not created during construction, but one of the previous ones is reused ins...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "test", "test_body": "define void @test(ptr %block, ptr noalias %pixels, i1 %...
{ "title": "[SLPVectorizer] Assertion `OpIdx < Operands.size() && \"Off bounds\"' failed.", "body": "Reproducer: https://godbolt.org/z/8Es17cqcW\r\n```\r\n; bin/opt -passes=slp-vectorizer reduced.ll -S\r\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\"\r\ntarg...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
f3d2609af3031ddb54030548e86335f295cf49ca
null
81415
https://github.com/llvm/llvm-project/issues/81415
crash
0ea64ad88abcbb939547a92000d98efb2b00d95f
2024-02-11T14:16:02
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "0dacba3ad1b5214ca35eda14987c0b76568a070e", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 0dacba3ad1b5214ca35eda14987c0b76568a070e Author: Florian Hahn <flo@fhahn.com> Date: Fri Feb 16 12:58:39 2024 +0000 [VPlan] Handle truncating ICMPs in truncateToMinimalBWs. Update truncateToMinimalBitwidths to handle truncating ICMPs. For ICMPs, the new target type will be the same as the orig...
[ { "file": "llvm/test/Transforms/LoopVectorize/trunc-reductions.ll", "commands": [ "opt -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=8 -S < %s" ], "tests": [ { "test_name": "reduction_and_or", "test_body": "define i32 @reduction_and...
{ "title": "clang crashes at -O{s,2,3} on x86_64-linux-gnu: Assertion `MinBWs.size() == NumProcessedRecipes && \"some entries in MinBWs haven't been processed\"' failed", "body": "It appears to be a recent regression as it does not reproduce with 17.0.1 and earlier versions.\r\n\r\nCompiler Explorer: https://godbol...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
70535f5e609f747c28cfef699eefb84581b0aac0
null
95520
https://github.com/llvm/llvm-project/issues/95520
crash
e7acb3792b8ba971bda2c9564ed26c2a60a2ddbc
2024-06-14T09:26:34
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "40a72f8cc414726a8be234a260650fd62354da21", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 40a72f8cc414726a8be234a260650fd62354da21 Author: Florian Hahn <flo@fhahn.com> Date: Fri Jun 14 22:16:51 2024 +0100 [VPlan] Support extracting any lane of uniform value. If the value we are extracting a lane from is uniform, only the first lane will be set. Return lane 0 for any requested lane...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/reduction-recurrence-costs-sve.ll", "commands": [ "opt -p loop-vectorize -S %s", "opt -p loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -S %s" ], "tests": [ { "test_name": "chained_recurren...
{ "title": "Assertion `hasVectorValue(Def, Instance.Part)' failed.", "body": "To reproduce run the following test opt with -passes loop-vectorize:\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename = \"./reduced.ll\"\r\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16...
true
{ "is_single_file_fix": false, "is_single_func_fix": false }
a43d999d1476c8ab549fb9039dccb03217ee1053
null
165301
https://github.com/llvm/llvm-project/issues/165301
crash
6ba2127a5cbe87a97a01ee73b2ef2c4681203b8c
2025-10-27T19:27:45
[ "llvm/test/Transforms/SimplifyCFG" ]
{ "fix_commit": "56777e7da2cb30f72a3ddc9861a2fbe3b9adbc6b", "components": [ "SimplifyCFG" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 56777e7da2cb30f72a3ddc9861a2fbe3b9adbc6b Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Fri Oct 31 10:30:29 2025 +0800 [SimplifyCFG] Avoid use-after-free when removing incoming values from PHI nodes (#165744) `PHINode::removeIncomingValue` removes itself when there are no incoming edges....
[ { "file": "llvm/test/Transforms/SimplifyCFG/pr165301.ll", "commands": [ "opt -S -passes=\"simplifycfg<switch-range-to-icmp>\" < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Make sure there's no use after free when removing incoming values from PHI nodes\...
{ "title": "[SimplifyCFG] SIGSEGV at O3", "body": "Reproducer: https://godbolt.org/z/j4r194cah\n```\n; bin/opt -passes=simplifycfg<switch-range-to-icmp> test.ll -S\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...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
127534
https://github.com/llvm/llvm-project/issues/127534
crash
6de5d1e46d1812de2bbbbe8d8d2c811e4d16acbe
2025-02-17T18:29:15
[ "llvm/test/Transforms/LoopSimplifyCFG" ]
{ "fix_commit": "41437a6067b2f9dc8e7c458ff6417397796be31c", "components": [ "LoopSimplifyCFG" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine...
commit 41437a6067b2f9dc8e7c458ff6417397796be31c Author: Aleksandr Popov <42888396+aleks-tmb@users.noreply.github.com> Date: Fri Feb 21 12:26:39 2025 +0100 [LoopSimplifyCFG] Fix SCEV invalidation after removing dead exit (#127536) Fixes #127534 diff --git a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp...
[ { "file": "llvm/test/Transforms/LoopSimplifyCFG/pr117537.ll", "commands": [ "opt -S -passes='print<scalar-evolution>,loop-mssa(licm,loop-simplifycfg,loop-predication)' -verify-scev < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Make sure we don't assert ...
{ "title": "[SCEV] Assertion `isAvailableAtLoopEntry(RHS, L) && \"RHS is not available at Loop Entry\"' failed", "body": "During our local testing, we encountered the assertion failure `isAvailableAtLoopEntry(RHS, L) && \"RHS is not available at Loop Entry\".\n\nReduced reproducer:\n\n```llvm\ntarget datalayout = \...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
119893
https://github.com/llvm/llvm-project/issues/119893
crash
cd093c2e1bac35dd2c6b914d0b64ce56683cb50a
2024-12-13T16:00:39
[ "llvm/test/Transforms/EarlyCSE" ]
{ "fix_commit": "5528388e3664c6d7d292f20a739f1bf1c8ef768d", "components": [ "EarlyCSE", "IR" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorComb...
commit 5528388e3664c6d7d292f20a739f1bf1c8ef768d Author: Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> Date: Fri Dec 13 22:06:39 2024 +0000 EarlyCSE: fix CmpPredicate duplicate-hashing (#119902) Strip hash_value() for CmpPredicate, as different callers have different hashing use-cases. In t...
[ { "file": "llvm/test/Transforms/EarlyCSE/pr119893.ll", "commands": [ "opt -passes=early-cse -S %s" ], "tests": [ { "test_name": "samesign_hash_bug", "test_body": "define i32 @samesign_hash_bug(i16 %v) {\n %zext = zext i16 %v to i32\n %icmp.samesign = icmp samesign ugt i...
{ "title": "[EarlyCSE] Assertion `!FoundVal && \"Key already in new map?\"' failed.", "body": "Reproducer:\n```\n; bin/opt -passes=early-cse reduced.ll -S\n\ndefine i32 @func_207(i16 %p_208.coerce, i32 %conv, i32 %0, i64 %1, ptr %p) {\nentry:\n %conv1 = zext i16 %p_208.coerce to i32\n %conv31 = sext i32 %conv to ...
true
{ "is_single_file_fix": false, "is_single_func_fix": false }
4a0d53a0b0a58a3c6980a7c551357ac71ba3db10
null
106257
https://github.com/llvm/llvm-project/issues/106257
crash
a4989cd603b8e8185e35e3c2b7b48b422d4898be
2024-08-27T17:46:38
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "4b84288f00f3e112045bbc4be4f1539147574ead", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 4b84288f00f3e112045bbc4be4f1539147574ead Author: Florian Hahn <flo@fhahn.com> Date: Wed Aug 28 19:12:04 2024 +0100 [VPlan] Pass live-ins used as exit values straight to live-out. Live-ins that are used as exit values don't need to be extracted, they can be passed through directly. This fixes ...
[ { "file": "llvm/test/Transforms/LoopVectorize/extract-from-end-vector-constant.ll", "commands": [ "opt -p loop-vectorize -force-vector-width=4 -S %s" ], "tests": [ { "test_name": "exit_value_vector_live_in", "test_body": "target datalayout = \"e-m:e-p:64:64-i64:64-i128:12...
{ "title": "[LoopVectorize] Assertion `(GeneratedValue->getType()->isVectorTy() == !GeneratesPerFirstLaneOnly || State.VF.isScalar()) && \"scalar value but not only first lane defined\"' failed.", "body": "Testcase:\r\n```llvm ir\r\n; ModuleID = 'reduced.bc'\r\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n3...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
99741ac28522f519713907d7bea4438ea5412e21
null
159979
https://github.com/llvm/llvm-project/issues/159979
crash
fa57074d146925a303263905af415cc78f58f353
2025-09-21T11:07:53
[ "llvm/test/Analysis/DependenceAnalysis" ]
{ "fix_commit": "a8057ff12956b7dd6dec44f9610c446c828c4af8", "components": [ "DependenceAnalysis" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorComb...
commit a8057ff12956b7dd6dec44f9610c446c828c4af8 Author: Sjoerd Meijer <smeijer@nvidia.com> Date: Tue Oct 14 09:16:28 2025 +0100 [DA] getBackedgeTakenCount in isKnownLessThan can return CouldNotCompute (#162495) Bail out when the backedge taken count is a CouldNotCompute SCEV in function isKnownLessT...
[ { "file": "llvm/test/Analysis/DependenceAnalysis/becount-couldnotcompute.ll", "commands": [ "opt < %s -disable-output \"-passes=print<da>\" -aa-pipeline=basic-aa 2>&1" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Test for function isKnownLessThan that calcul...
{ "title": "[DA] Crash in ScalarEvolution::getTruncateOrZeroExtend", "body": "This input:\n\n```\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32\"\ntarget triple = \"aarch64-unknown-linux-gnu\"\n\ndefine void @_Z1dbibPA2_i(i64 %conv, ptr %a) {\nentry:...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
05dd957cda663273ae0e5739656ffe701404f37c
null
107051
https://github.com/llvm/llvm-project/issues/107051
crash
fcb7b390ccd5b4cfc71f13b5e16a846f3f400c10
2024-09-03T06:19:24
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "3bd161e98d89d31696002994771b7761f1c74859", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 3bd161e98d89d31696002994771b7761f1c74859 Author: Florian Hahn <flo@fhahn.com> Date: Tue Sep 3 21:06:31 2024 +0100 [LV] Honor forced scalars in setVectorizedCallDecision. Similarly to dd94537b4, setVectorizedCallDecision also did not consider ForcedScalars. This lead to VPlans not reflecting t...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/call-costs.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "call_forced_scalar", "test_body": "target triple = \"arm64-apple-macosx11.0.0\"\n\ndefine void @call_forced_scalar(ptr %src.1, p...
{ "title": "[clang] Assertion failed in Vectorize", "body": "I compiled this code with -Os and a crash appeared in assertion failure:\r\n\r\n```c\r\n#include <stdint.h>\r\nint32_t *c;\r\nint8_t ****d;\r\nuint64_t g;\r\nint a();\r\nlong b(long, long h, long p3) {\r\n long e;\r\n int f = 0;\r\n if (h) {\r\n e =...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
9ccf82543d509bb5a0f5d0551fc4d6c1913b9a9b
null
82884
https://github.com/llvm/llvm-project/issues/82884
miscompilation
0c7a605ada6cb392e6e8c16dbccf2b7e59017399
2024-02-24T15:15:12
[ "llvm/test/Transforms/GVN" ]
{ "fix_commit": "892b4beeac50920e630f10905b2916295e2eb6d8", "components": [ "Local" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp": nul...
commit 892b4beeac50920e630f10905b2916295e2eb6d8 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Mon Feb 26 15:55:56 2024 +0800 [GVN] Drop nsw/nuw flags when replacing the result of a with.overflow intrinsic with a overflowing binary operator (#82935) Alive2: https://alive2.llvm.org/ce/z/gyL7mn F...
[ { "file": "llvm/test/Transforms/GVN/pr82884.ll", "commands": [ "opt -S -passes=gvn < %s" ], "tests": [ { "test_name": "pr82884", "test_body": "define i32 @pr82884(i32 %x) {\n %mul = mul nuw nsw i32 %x, %x\n call void @use(i32 %mul)\n %mul2 = call { i32, i1 } @llvm.smul...
{ "title": "[GVN] GVNPass forgets to remove poison generating flags", "body": "```llvm\r\n; ModuleID = '1851685_debug_2.e4807e3094afc004-cgu.0'\r\nsource_filename = \"1851685_debug_2.e4807e3094afc004-cgu.0\"\r\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128\"\r\ntarget ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
98139
https://github.com/llvm/llvm-project/issues/98139
miscompilation
6aefa918768c834ec21e0b599fa14d03b9ce3dc0
2024-07-09T09:49:19
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "722151664ecfd53295392ad875ff9bfdcd1deaaf", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": [ [ 411, 417 ] ], "llv...
commit 722151664ecfd53295392ad875ff9bfdcd1deaaf Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Tue Jul 9 22:04:55 2024 +0800 [InstCombine] Fix typo in `adjustKnownBitsForSelectArm` (#98155) Fixes https://github.com/llvm/llvm-project/issues/98139. diff --git a/llvm/lib/Transforms/InstCombine/InstCo...
[ { "file": "llvm/test/Transforms/InstCombine/pr98139.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "pr98139", "test_body": "define i8 @pr98139(i16 %a, i16 %b, i1 %cond) {\n %sel = select i1 %cond, i16 1, i16 254\n %cond1 = icmp ne i16 ...
{ "title": "wrong code at -O{s,2,3} on x86_64-linux-gnu", "body": "It appears to be a recent regression as it doesn't reproduce with 18.1.0 and earlier.\r\n\r\nCompiler Explorer: https://godbolt.org/z/o595xsMdb\r\n\r\n```\r\n[512] % clangtk -v\r\nclang version 19.0.0git (https://github.com/llvm/llvm-project.git 765...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
b58ae6bd2708a5c3757fe7ec722b6a87b98fd81a
null
109510
https://github.com/llvm/llvm-project/issues/109510
crash
eb6e7e8f89a3d5c1cbc9856774ca00208753fb12
2024-09-21T04:01:16
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "bd8fe9972e3f17776e4e05e69e13ab8271d34132", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit bd8fe9972e3f17776e4e05e69e13ab8271d34132 Author: Florian Hahn <flo@fhahn.com> Date: Sat Sep 21 12:45:36 2024 +0100 [VPlan] Mov licm to end of VPlan optimizations. This moves licm after expanding replicate regions. This fixes a crash when trying to hoist a predicated VPReplicateRecipes which l...
[ { "file": "llvm/test/Transforms/LoopVectorize/invariant-replicate-region.ll", "commands": [ "opt -p loop-vectorize -force-vector-width=4 -S %s" ], "tests": [ { "test_name": "test_invariant_replicate_region", "test_body": "target datalayout = \"e-m:o-i64:64-i128:128-n32:64...
{ "title": "A/F: verifyVPlanIsValid(*Plan) && \"VPlan is invalid\" after a861ed411a", "body": "We have an internal test that recently started to hit an assertion failure which I bisected back to commit a861ed411a359b7cb2b58d642e4a7f2fdcf92057. \r\n\r\nConsider the following code:\r\n```c\r\nint g_78, g_659, func_32...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
a861ed411a359b7cb2b58d642e4a7f2fdcf92057
58e05779b483bb3d9f734bd09f5cb2241431a0b7
173355
https://github.com/llvm/llvm-project/issues/173355
crash
2eb8ee137f28e46a1711a28b6575083dafba7c8e
2025-12-23T11:06:49
[ "llvm/test/Transforms/MergeFunc" ]
{ "fix_commit": "4d66cccffe179d0d2bbec833ace041349cf872a4", "components": [ "MergeFunctions" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine....
commit 4d66cccffe179d0d2bbec833ace041349cf872a4 Author: Sebastian Neubauer <flakebi@t-online.de> Date: Sun Jan 4 13:35:16 2026 +0100 [MergeFunc] Do not merge kernel functions (#174254) Kernels cannot be called, so we cannot introduce calls to them in MergeFunctions. The test uses a `--impli...
[ { "file": "llvm/test/Transforms/MergeFunc/merge-calling-conv.ll", "commands": [ "opt -S -passes=mergefunc < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Check that no calls are generated for certain calling conventions\n\n@debug = global i32 0\n\n\ndefin...
{ "title": "[MergeFunc] Creates calls for calling convention that does not allow calls", "body": "When running opt on the following IR, opt crashes. \nI am not sure whether this is a valid case. If using opt in this way is not appropriate, I am open to closing this issue.\ngodbolt: https://godbolt.org/z/873edWGzK\n...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
133751
https://github.com/llvm/llvm-project/issues/133751
crash
2d7add6e2e56baf46504a8a22dec42b61f63360f
2025-03-31T16:55:56
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "bfd8cc0a3e82c5e6345a66dd5db5242accb6874b", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 8854, 8860 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit bfd8cc0a3e82c5e6345a66dd5db5242accb6874b Author: Alexey Bataev <a.bataev@outlook.com> Date: Mon Mar 31 10:31:18 2025 -0700 [SLP]Fix a check for the whole register use Need to check the value type, not the return type, of the instructions, when doing the analysis for the whole register use to ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/cmp-values-non-full-registers.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-grtev4-linux-gnu < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine void @test() {\n;\nentry:\n br i1 fal...
{ "title": "SLPVectorizer: \"Reshuffling scalars not yet supported for nodes with padding\" assert", "body": "```\n$ cat /tmp/a.ll\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-grtev4-linux-gnu\"\n\ndefine void @gsl_matrix_long_dou...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
6b109a34ccedd3c75a067e322da0386c156c241d
null
168709
https://github.com/llvm/llvm-project/issues/168709
crash
8a40d08b836ff5f363783f99efd901a44d8575de
2025-11-19T13:56:06
[ "llvm/test/Analysis/ScalarEvolution", "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "5d876093b72182ede3d8beb551397b7fe90faa84", "components": [ "ScalarEvolution" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine...
commit 5d876093b72182ede3d8beb551397b7fe90faa84 Author: Florian Hahn <flo@fhahn.com> Date: Tue Dec 2 14:09:53 2025 +0000 [SCEV] Allow udiv canonicalization of potentially-wrapping AddRecs (#169576) Extend the {X,+,N}/C => {(X - X%N),+,N}/C canonicalization to handle AddRecs that may wrap, when X < N...
[ { "file": "llvm/test/Analysis/ScalarEvolution/addrec-may-wrap-udiv-canonicalize.ll", "commands": [ "opt < %s -passes='print<scalar-evolution>' -disable-output 2>&1" ], "tests": [ { "test_name": "test_step4_div4", "test_body": "declare void @use(i64)\n\ndefine void @test_s...
{ "title": "[LoopVectorize] opt crashed at -O2/O3: Assertion \"VPlan cost model and legacy cost model disagreed\" failed.", "body": "Reproducer: https://godbolt.org/z/E3jq9MPsc\nTestcase:\n```llvm\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...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
142286
https://github.com/llvm/llvm-project/issues/142286
miscompilation
b9fa1dfd38ee75640402fdd0ca3640a51b95a8a3
2025-05-31T20:42:03
[ "llvm/test/Transforms/CorrelatedValuePropagation" ]
{ "fix_commit": "0f7cc4132b62e0ecdbd3193e954b745c5f492e90", "components": [ "CorrelatedValuePropagation" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/Ve...
commit 0f7cc4132b62e0ecdbd3193e954b745c5f492e90 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Mon Jun 2 17:42:02 2025 +0800 [CVP] Keep `ReachableCaseCount` in sync with range of condition (#142302) https://github.com/llvm/llvm-project/pull/79993 assumes that a reachable case must be contained ...
[ { "file": "llvm/test/Transforms/CorrelatedValuePropagation/switch.ll", "commands": [ "opt < %s -passes=correlated-propagation -S" ], "tests": [ { "test_name": "pr142286", "test_body": "define void @pr142286() {\nstart:\n br label %loop\n\nloop: ...
{ "title": "CorrelatedValuePropagation miscompilation", "body": "Like https://github.com/llvm/llvm-project/issues/139866 this is from a fuzzer that generates Rust MIR: https://github.com/cbeuw/rustlantis.\n\nThe Rust MIR reproducer is: https://godbolt.org/z/sb568G8r4\n\nWith this command line, the program runs:\n``...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
394e321a2ea021194891cf5b0c5747a901fb7915
null
119665
https://github.com/llvm/llvm-project/issues/119665
crash
7ae78a6cdb6ce9ad1534ed10519649fb3d47aca9
2024-12-12T07:13:14
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "3706dfef660097f24fb5efbac0d7f14b424492ed", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 3706dfef660097f24fb5efbac0d7f14b424492ed Author: Florian Hahn <flo@fhahn.com> Date: Mon Feb 10 16:29:42 2025 +0000 [LV] Forget LCSSA phi with new pred before other SCEV invalidation. (#119897) `forgetLcssaPhiWithNewPredecessor` performs additional invalidation if there is an existing SCEV for...
[ { "file": "llvm/test/Transforms/LoopVectorize/invalidate-scev-at-scope-after-vectorization.ll", "commands": [ "opt -passes='print<scalar-evolution>,loop-vectorize' -force-vector-width=4 -scalar-evolution-classify-expressions=false -S %s" ], "tests": [ { "test_name": "<module>", ...
{ "title": "[clang] Crash at -O2: Assertion `isAvailableAtLoopEntry(LHS, L) && \"LHS is not available at Loop Entry\"' failed.", "body": "This code crashes at `-O2`: \n```c\nint a, e;\nint *b;\nshort c[];\nshort d;\nvoid f() {\n int g;\n for (;;)\n for (; a - 3 + g < 6; g = g + 1)\n c[g] = d;\n}\nvoid h()...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
113451
https://github.com/llvm/llvm-project/issues/113451
crash
7a1036935f8122d9120df5ecf5afb5c927a9ea8b
2024-10-23T12:43:54
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "a3508e0246741851f06cb9ba86203be8d89febed", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 11588, 11594 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit a3508e0246741851f06cb9ba86203be8d89febed Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Oct 23 10:25:41 2024 -0700 [SLP]Small buidlvector only graph should contains scalars from same block If the graph is small and has single buildvector node, all scalars instructions must be from the...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/small-graph-diff-block-instructions.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -mattr=+avx512dq -slp-threshold=-99999 < %s" ], "tests": [ { "test_name": "test", "test_body": "defin...
{ "title": "Assertion `((GatheredLoadsEntriesFirst.has_value() && E->getOpcode() == Instruction::Load && E->isGather() && E->Idx < *GatheredLoadsEntriesFirst) || all_of(E->Scalars, [=](Value *V) -> bool { if (E->getOpcode() == Instruction::GetElementPtr && !isa<GetElementPtrInst>(V)) return true; auto *I = cast<Instr...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
f9bc00e4bb6e09a9f8e4add8e3988cb44b193cdb
null
137185
https://github.com/llvm/llvm-project/issues/137185
crash
6479e9bad371f19a36ed15c236defc301efc180f
2025-04-24T14:36:28
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "a750893fea29f32e9bab2cd5176eec34e63b0898", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit a750893fea29f32e9bab2cd5176eec34e63b0898 Author: Maryam Moghadas <maryammo@ca.ibm.com> Date: Tue May 6 12:48:21 2025 -0400 [VPlan][LV] Fix invalid truncation in VPScalarIVStepsRecipe (#137832) Replace CreateTrunc with CreateSExtOrTrunc in VPScalarIVStepsRecipe to safely handle type conversion...
[ { "file": "llvm/test/Transforms/LoopVectorize/PowerPC/vplan-scalarivsext-crash.ll", "commands": [ "opt -passes=loop-vectorize -S %s 2>&1" ], "tests": [ { "test_name": "<module>", "test_body": "\ntarget datalayout = \"E-m:a-p:32:32-Fi32-i64:64-n32\"\ntarget triple = \"powe...
{ "title": "[Loop Vectorize] Crash: Assertion `CastInst::castIsValid(opc, C, Ty) && \"Invalid constantexpr cast!\"'", "body": "Here is the godbolt link to the reproducer: https://godbolt.org/z/354qYx43T\nFor the record here is the IR:\n```\nsource_filename = \"reduced.ll\"\ntarget datalayout = \"e-m:e-p270:32:32-p2...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
7fa104ed20a576a792162e8ac677c1543032d8f1
null
124759
https://github.com/llvm/llvm-project/issues/124759
crash
b923f6cf8faca82b8df2a936d8ff36a6125aedcc
2025-01-28T14:48:43
[ "llvm/test/Analysis/LoopAccessAnalysis" ]
{ "fix_commit": "275baedfde9dcd344bc4f11f552b046a69a4bf3f", "components": [ "LoopAccessAnalysis" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorComb...
commit 275baedfde9dcd344bc4f11f552b046a69a4bf3f Author: Florian Hahn <flo@fhahn.com> Date: Fri Feb 28 20:56:12 2025 +0000 [LAA] Consider accessed addrspace when mapping underlying obj to access. (#129087) In some cases, it is possible for the same underlying object to be accessed via pointers to dif...
[ { "file": "llvm/test/Analysis/LoopAccessAnalysis/underlying-object-different-address-spaces.ll", "commands": [ "opt -passes='print<access-info>' -disable-output %s 2>&1" ], "tests": [ { "test_name": "<module>", "test_body": "\ntarget datalayout = \"e-m:e-p270:32:32-p271:3...
{ "title": "LoopVectorizer `assert(AddressSpace == AS && with addrspacecast` is hit", "body": "The following code produces an assert in RuntimeCheckingPtrGroup::addPointer()\n\n\n``` llvm\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...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
80597
https://github.com/llvm/llvm-project/issues/80597
crash
8f4d8945536e9fc45db0e349b91c2f4b3a9cae29
2024-02-04T14:06:35
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "cb8d83a77c25e529f58eba17bb1ec76069a04e90", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": [ [ 802, 807 ] ], "llv...
commit cb8d83a77c25e529f58eba17bb1ec76069a04e90 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Tue Feb 6 01:29:38 2024 +0800 [InstCombine] Fix assertion failure in issue80597 (#80614) The assertion in #80597 failed when we were trying to compute known bits of a value in an unreachable BB. ...
[ { "file": "llvm/test/Transforms/InstCombine/pr80597.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "pr80597", "test_body": "define i64 @pr80597(i1 %cond) {\nentry:\n %add = select i1 %cond, i64 0, i64 4294967293\n %add8 = shl i64 %add,...
{ "title": "llvm crash: Assertion `!LHSKnown.hasConflict() && \"Bits known to be one AND zero?\"' failed.", "body": "llvm crashes in `instcombine`\r\n\r\nBisected to d77067d08a3f56dc2d0e6c95bd2852c943df743a, which was committed by @nikic \r\n\r\nCompiler explorer: https://godbolt.org/z/e4jrvf5Wr\r\n\r\n```console\r...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
d77067d08a3f56dc2d0e6c95bd2852c943df743a
null
106655
https://github.com/llvm/llvm-project/issues/106655
crash
2d5613afec0f4afeeb03cfd4edac556a65ad0eaf
2024-08-30T03:04:59
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "87a988e881ac92e3d87aae01dc632f33c1fb36aa", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 13137, 13143 ], [ 13197, 13203 ], [ 13249, 13255 ...
commit 87a988e881ac92e3d87aae01dc632f33c1fb36aa Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Aug 30 05:16:57 2024 -0700 [SLP]Fix PR106655: Use FinalShuffle for alternate cast nodes. Need to use FinalShuffle function for all vectorized results to correctly produce vectorized value. ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/resized-alt-shuffle-after-minbw.ll", "commands": [ "opt -S --passes=slp-vectorizer -slp-vectorize-hor=false < %s" ], "tests": [ { "test_name": "func", "test_body": "define void @func(i32 %0) {\n %2 = shl i32 %0, 0\n %3 = sex...
{ "title": "[SLP] Assertion `I >= 0 && I < (NumOpElts * 2) && \"Out-of-bounds shuffle mask element\"' failed.", "body": "Live link: https://godbolt.org/z/nePMscjGr\r\n\r\nTest case:\r\n\r\n```ll\r\ndefine void @func(i32 %0) {\r\n %2 = shl i32 %0, 0\r\n %3 = sext i32 %2 to i64\r\n %4 = shl i32 0, 0\r\n %5 = sext...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
f3d2609af3031ddb54030548e86335f295cf49ca
null
106523
https://github.com/llvm/llvm-project/issues/106523
crash
2002533802dbe74c82476e30d093baf6d4cdee50
2024-08-29T10:12:29
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "2dfb1c664c0a0afc512b900c45989e247406e523", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 2dfb1c664c0a0afc512b900c45989e247406e523 Author: Florian Hahn <flo@fhahn.com> Date: Wed Oct 23 13:12:03 2024 -0700 [VPlan] Try to hoist Previous (and operands), if sinking fails for FORs. (#108945) In some cases, Previous (and its operands) can be hoisted. This allows supporting additional ca...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/fixed-order-recurrence.ll", "commands": [ "opt -passes=loop-vectorize -S -o - %s" ], "tests": [ { "test_name": "test_pr62954_scalar_epilogue_required", "test_body": "target datalayout = \"e-m:e-i64:64-f80:128-n8:16:32:64-S...
{ "title": "Assertion `hasPlanWithVF(ScalarVF) && \"More than a single plan/VF w/o any plan having scalar VF\"' failed.", "body": "To reproduce run the following test with -passes=loop-vectorize\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename = \"./reduced.ll\"\r\ntarget datalayout = \"e-m:e-p270:32:32-p27...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
2ae6889d3f6c6bbe8390d6b1686c6583492b44a2
null
80289
https://github.com/llvm/llvm-project/issues/80289
miscompilation
f7b05e055fa63e1c4b5ae5e391b654b57161a0e4
2024-02-01T13:14:59
[ "llvm/test/Transforms/LoopUnroll" ]
{ "fix_commit": "62ae7d976f494f3dbd297331b19cd1204750de6f", "components": [ "LoopUnrollRuntime" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombi...
commit 62ae7d976f494f3dbd297331b19cd1204750de6f Author: Nikita Popov <npopov@redhat.com> Date: Thu Feb 1 16:06:58 2024 +0100 [LoopUnroll] Fix missing sign extension For integers larger than 64-bit, this would zero-extend a -1 value, instead of sign-extending it. Fixes https://github.com/llv...
[ { "file": "llvm/test/Transforms/LoopUnroll/runtime-i128.ll", "commands": [ "opt -S -passes=loop-unroll -unroll-runtime < %s" ], "tests": [ { "test_name": "test", "test_body": "declare void @foo()\n\ndefine void @test(i128 %n, i128 %m) {\nentry:\n br label %loop\n\nloop: ...
{ "title": "WRONG code: LoopUnroll / SCEVExpander with i128 induction variable.", "body": "This reduced (csmith) test case seems well-defined, and should print '6':\r\n\r\n```\r\nchar C = 0;\r\n__int128 IW = 0;\r\nint *IPtr1, *IPtr2;\r\n\r\nstruct S2 { int f3; };\r\nvolatile struct S2 g_1100;\r\n\r\nint main() {\r\...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
180233
https://github.com/llvm/llvm-project/issues/180233
crash
45b037cf7a26641bf778bbe7532d99935d35be1b
2026-02-06T17:08:27
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "d1b402b61298d7f28578650e452874e51ea818c4", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit d1b402b61298d7f28578650e452874e51ea818c4 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Mon Feb 9 21:09:48 2026 +0800 [InstCombine] Avoid overflow in `foldVecExtTruncToExtElt` (#180414) This weird pattern was introduced by LoopVectorize. But it was placed in an unreachable path, so we ca...
[ { "file": "llvm/test/Transforms/InstCombine/trunc-extractelement.ll", "commands": [ "opt < %s -passes=instcombine -S -data-layout=\"e\"", "opt < %s -passes=instcombine -S -data-layout=\"E\"" ], "tests": [ { "test_name": "test_overflow_idx2", "test_body": "define i16...
{ "title": "[InstCombine] Assertion `BitCastNumElts <= std::numeric_limits<uint32_t>::max() && NewIdx <= std::numeric_limits<uint32_t>::max() && \"overflow 32-bits\"' failed.", "body": "Reproducer: https://godbolt.org/z/7Mv978ce7\nTestcase:\n```llvm\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
176548
https://github.com/llvm/llvm-project/issues/176548
crash
6b86e24ec1785ab13bbc1e136a85537460b15fb2
2026-01-17T09:19:57
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "9696c8bd620890387b258a116b9f244d91454627", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 9696c8bd620890387b258a116b9f244d91454627 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Sat Jan 17 20:04:37 2026 +0800 [InstCombine] Bail out on intrinsics with struct return types (#176556) After https://github.com/llvm/llvm-project/pull/174835, overflow intrinsics can be vectorized. Bu...
[ { "file": "llvm/test/Transforms/InstCombine/pr176548.ll", "commands": [ "opt -S -passes=instcombine < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Make sure we don't pull shufflevector through an intrinsic that returns a struct.\n\ndefine { <4 x i32>, <4...
{ "title": "[InstCombine] Assertion `isValidElementType(ElementType) && \"Element type of a VectorType must be an integer...\"' failed.", "body": "Reproducer: https://godbolt.org/z/bfdeaYxYh\n```\n; bin/opt -passes=instcombine test.ll -S\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
148260
https://github.com/llvm/llvm-project/issues/148260
crash
69ea174bf07533b7f63139f78b0ec3d3766aedc4
2025-07-11T16:27:05
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "c363a3f9c858b38afa34f3a8ebcc3fa7a4062315", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit c363a3f9c858b38afa34f3a8ebcc3fa7a4062315 Author: David Sherwood <david.sherwood@arm.com> Date: Tue Jul 15 09:54:58 2025 +0100 [LV] Ensure getScaledReductions only matches extends inside the loop (#148264) In getScaledReductions for the case where we try to match a partial reduction of the for...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce.ll", "commands": [ "opt -passes=loop-vectorize -force-vector-interleave=1 -enable-epilogue-vectorization=false -S < %s", "opt -passes=loop-vectorize -enable-epilogue-vectorization=false -S < %s", "opt -passes=loop-vectori...
{ "title": "[LV] Assertion `Val && \"isa<> used on a null pointer\"' failed", "body": "Compile this:\n\n```\nint a;\nextern bool b[];\nchar d, c;\nvoid f() {\n for (int e(d); e; e += 4LL) {\n b[e] = 0;\n a += c;\n }\n}\n```\n\nwith:\n\n clang++ -Ofast -mcpu=grace -c func.cpp\n\nto trigger this assert:...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
f575b18fdc8359bddc8747dbb8b16e5d10705dda
null
160507
https://github.com/llvm/llvm-project/issues/160507
crash
e47a42e5b597b155207da24a348baaba52014a92
2025-09-24T11:47:04
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "6eff26094a2c277d9f324545b8b26a02213ed5de", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 6eff26094a2c277d9f324545b8b26a02213ed5de Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Fri Sep 26 00:53:24 2025 +0800 [InstCombine] Skip replaceExtractElements for ConstantData (#160575) Closes https://github.com/llvm/llvm-project/issues/160507. Note: Replacing other users except f...
[ { "file": "llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll", "commands": [ "opt -S -passes=instcombine %s" ], "tests": [ { "test_name": "pr160507", "test_body": "define i64 @pr160507(ptr %arg, i32 %arg1, i1 %arg2, i8 %arg3, i64 %arg4) {\nbb:\n br label %bb5\n\...
{ "title": "[InstCombine] opt triggered assertion \"hasUseList()\" at -O1/O2/O3", "body": "Reproducer: https://godbolt.org/z/K9TMMvP6d\nTestcase:\n```llvm\ndefine i64 @func_1(ptr %g_322, i32 %0, i1 %tobool, i8 %BS_VAR_11.0, i64 %cond) {\nentry:\n br label %BS_LABEL_1\n\nBS_LABEL_1: ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
9383fb23e18bb983d0024fb956a0a724ef9eb03d
null
164242
https://github.com/llvm/llvm-project/issues/164242
crash
32b534b1927089bffe71b8f6560a31a567a2b87b
2025-10-20T11:53:35
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "e7f370f910701b6c67d41dab80e645227692c58b", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 5578, 5584 ], [ 5586, 5591 ], [ 5602, 5638 ] ...
commit e7f370f910701b6c67d41dab80e645227692c58b Author: Alexey Bataev <a.bataev@outlook.com> Date: Mon Oct 20 15:48:36 2025 -0700 [SLP] Check all copyable children for non-schedulable parent nodes If the parent node is non-schedulable and it includes several copies of the same instruction, its opera...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-parent-multi-copyables.ll", "commands": [ "opt -S -passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s -slp-threshold=-99999" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine void @t...
{ "title": "Assertion `all_of(Bundles, [](const ScheduleBundle *Bundle) { return Bundle->isScheduled(); }) && \"must be scheduled at this point\"' failed.", "body": "To reproduce run opt with the test below using -passes=slp-vectorizer -slp-threshold=-99999:\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
5d7f324614d7a5c0de89cfe8295a9b2b7ef5d073
null
105120
https://github.com/llvm/llvm-project/issues/105120
crash
6ec3130a38e6982a61e7fa74bd5223c95c0bb918
2024-08-20T17:04:34
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "e31252bf54dedadfe78b36d07ea6084156faa38a", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 7227, 7232 ], [ 7238, 7247 ] ], "llvm/lib/Transforms/InstCombine/...
commit e31252bf54dedadfe78b36d07ea6084156faa38a Author: Alexey Bataev <a.bataev@outlook.com> Date: Wed Aug 21 11:47:00 2024 -0700 [SLP]Fix PR105120: fix the order of phi nodes vectorization. The operands of the phi nodes should be vectorized in the same order, in which they were created, otherwise t...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/phi-nodes-as-operand-reorder.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-99999 < %s" ], "tests": [ { "test_name": "test", "test_body": "define void @test() {\nbb:\n ...
{ "title": "[SLPVectorizer] Instruction does not dominate all uses! LLVM ERROR: Broken module found, compilation aborted!", "body": "To reproduce run the test below with -passes slp-vectorizer -slp-threshold=-99999\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename = \"./reduced.ll\"\r\ntarget datalayout = \"...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
66775f8ccdcc8264ef349518e1c59d96d4227823
null
118030
https://github.com/llvm/llvm-project/issues/118030
crash
6f4b4f41ca41d7d0b44a32d9968aef7667c68184
2024-11-28T19:14:48
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "f4974e09312afc9549fcfc0304b738d235da9eca", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 17799, 17804 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit f4974e09312afc9549fcfc0304b738d235da9eca Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Nov 29 06:20:19 2024 -0800 [SLP] Add a check for poison value in AShrChecker Need to check if the value in AShrChecker is a poison before casting it to instruction to avoid compiler crash ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/ashr-node-with-poison.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine i32 @test(ptr %n, i32 %conv57, i1 %tobool5.not, i...
{ "title": "clang crashes on valid code at -O{s,2,3} on x86_64-linux-gnu: Assertion `isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"' failed", "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/cb67rEodY\n\n```\n[5...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
b8703369daf777706196ff914c0376c27adde3cf
null
114905
https://github.com/llvm/llvm-project/issues/114905
miscompilation
1b476ecdcf4b544af1436341fc923c0b73793cbe
2024-11-05T01:11:52
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "889215a30ed60474e573f9632d1fa362dfa1b04e", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 19821, 19841 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 889215a30ed60474e573f9632d1fa362dfa1b04e Author: Alexey Bataev <a.bataev@outlook.com> Date: Thu Dec 26 05:09:51 2024 -0800 [SLP]Followup fix for the poisonous logical op in reductions If the VectorizedTree still may generate poisonous value, but it is not the original operand of the reduction...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll", "commands": [ "opt < %s -passes=slp-vectorizer -mtriple=x86_64-- -S", "opt < %s -passes=slp-vectorizer -mtriple=x86_64-- -mattr=avx512vl -S" ], "tests": [ { "test_name": "logical_or_icm...
{ "title": "wrong folding of `select`s in slp-vectorizer", "body": "Alive2 report: https://alive2.llvm.org/ce/z/jEopx9\r\n\r\n```llvm\r\n----------------------------------------\r\ndefine i1 @logical_and_icmp_diff_preds.2(<4 x i32> %x) {\r\n#0:\r\n %x0 = extractelement <4 x i32> %x, i32 0\r\n %x1 = extractelement...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
e03d254bbd548d56fba43f805acb5fa31694d602
null
121890
https://github.com/llvm/llvm-project/issues/121890
miscompilation
7612dcc6e8d8e7f19b364084effbb01946294720
2025-01-07T06:21:54
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "9725595f3acc0c1aaa354e15ac4ee2b1f8ff4cc9", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 9725595f3acc0c1aaa354e15ac4ee2b1f8ff4cc9 Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Sat Feb 1 20:41:15 2025 +0800 [InstCombine] Check nowrap flags when folding comparison of GEPs with the same base pointer (#121892) Alive2: https://alive2.llvm.org/ce/z/P5XbMx Closes https://github.co...
[ { "file": "llvm/test/Transforms/InstCombine/opaque-ptr.ll", "commands": [ "opt -S -passes='instcombine<no-verify-fixpoint>' < %s" ], "tests": [ { "test_name": "cmp_gep_same_base_same_type_nusw", "test_body": "target datalayout = \"p:8:8:8\"\ndefine i1 @cmp_gep_same_base_s...
{ "title": "[InstCombine] Missing flag check when folding comparison of geps with the same base pointer", "body": "Alive2: https://alive2.llvm.org/ce/z/P5XbMx\n```\n\n----------------------------------------\ndefine i1 @src(ptr %ptr, i8 %idx1, i8 %idx2) {\n#0:\n %gep1 = gep ptr %ptr, 4 x i8 %idx1\n %gep2 = gep pt...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
ae73bc8e94b3174e2b495eee544cf843b6e51899
null
77320
https://github.com/llvm/llvm-project/issues/77320
miscompilation
ade7ae4760a0b0e74cddd8f852830ca946295930
2024-01-08T14:43:50
[ "llvm/test/Transforms/InstSimplify" ]
{ "fix_commit": "97e3220d6312ae00bcbe08673f218bd0f705776b", "components": [ "InstructionSimplify" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCom...
commit 97e3220d6312ae00bcbe08673f218bd0f705776b Author: Nikita Popov <npopov@redhat.com> Date: Mon Jan 8 15:49:47 2024 +0100 [InstSimplify] Consider bitcast as potential cross-lane operation The bitcast might change the number of vector lanes, in which case it will be a cross-lane operation. ...
[ { "file": "llvm/test/Transforms/InstSimplify/select.ll", "commands": [ "opt < %s -passes=instsimplify -S" ], "tests": [ { "test_name": "select_vector_cmp_with_bitcasts", "test_body": "define <4 x i32> @select_vector_cmp_with_bitcasts(<2 x i64> %x, <4 x i32> %y) {\n %x.bc...
{ "title": "[InstSimplify] Miscompile with select of vectors and bitcast", "body": "https://alive2.llvm.org/ce/z/xhCFyk\r\n\r\n```llvm\r\ndefine <4 x i32> @src(<2 x i64> %x, <4 x i32> %y) {\r\n %x.bc = bitcast <2 x i64> %x to <4 x i32>\r\n %y.bc = bitcast <4 x i32> %y to <2 x i64>\r\n %sub = sub <2 x i64> %x, %y...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
175768
https://github.com/llvm/llvm-project/issues/175768
crash
6fd8c36417709118e154d83559c08ce829bfe17d
2026-01-13T14:45:47
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "72a20b8e29876106aa918d03ef95f27a6bf0fa0d", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 7082, 7093 ], [ 7436, 7445 ], [ 7451, 7457 ] ...
commit 72a20b8e29876106aa918d03ef95f27a6bf0fa0d Author: Gabriel Baraldi <baraldigabriel@gmail.com> Date: Thu Jan 15 12:07:13 2026 -0300 [SLPVectorizer] Check std::optional coming out of getPointersDiff (#175784) Fixes https://github.com/llvm/llvm-project/issues/175768 There are other unchecked uses ...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/crash_getpointersdiff-nullopt.ll", "commands": [ "opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-unknown-linux-gnu" ], "tests": [ { "test_name": "<module>", "test_body": "\n; Test that SLP vectorizer doesn't crash when...
{ "title": "SLP vectorizer crashes with assertions on", "body": "This is the repro in godbold\nhttps://godbolt.org/z/c3nzMcrGs\n\n```llvm\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine void @test(i64 %arg0, i64 %arg1) {\nentry:\n %init = add i64 %arg0, 1\n br label %loop\n\nloop:\n %iv = phi i64 [ %init...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
null
null
80836
https://github.com/llvm/llvm-project/issues/80836
crash
ea2d9383a23ca17b9240ad64c2adc5f2b5a73dc0
2024-02-06T14:26:26
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "1c10821022f1799452065fb57474e894e2562b7f", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 1c10821022f1799452065fb57474e894e2562b7f Author: David Sherwood <57997763+david-arm@users.noreply.github.com> Date: Wed Feb 14 16:07:51 2024 +0000 [LoopVectorize] Fix divide-by-zero bug (#80836) (#81721) When attempting to use the estimated trip count to refine the costs of the runtime memory...
[ { "file": "llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll", "commands": [ "opt -p loop-vectorize -debug-only=loop-vectorize -S -disable-output < %s 2>&1" ], "tests": [ { "test_name": "outer_known_tc3_full_range_checks", "test_body": "target triple = ...
{ "title": "Unhandled Floating point exception with loop-vectorize ", "body": "Run opt with -passes=loop-vectorize \r\n\r\nhttps://godbolt.org/z/s3PWY3vhE\r\n\r\nTest.ll\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename = \"./reduced.ll\"\r\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:6...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Unrelated
null
76852
https://github.com/llvm/llvm-project/issues/76852
crash
4d11f04b20f0bd7488e19e8f178ba028412fa519
2024-01-03T19:32:37
[ "llvm/test/Transforms/LoopDeletion" ]
{ "fix_commit": "a0b911745494e3c2f53a27f23c536314818ce0b1", "components": [ "LoopDeletion" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cp...
commit a0b911745494e3c2f53a27f23c536314818ce0b1 Author: Manish Kausik H <46352931+Nirhar@users.noreply.github.com> Date: Fri Jan 19 20:00:20 2024 +0530 LoopDeletion: Move EH pad check before the isLoopNeverExecuted Check (#78189) This commit modifies `LoopDeletion::deleteLoopIfDead` to check if the ...
[ { "file": "llvm/test/Transforms/LoopDeletion/loop-with-ehpad-not-executed.ll", "commands": [ "opt %s -passes=loop-deletion -S" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine void @wombat() personality ptr null {\n;\nbb:\n br i1 false, label %bb1, label %...
{ "title": " LLVM ERROR: Broken module found, compilation aborted!", "body": "The bug was found by FuzzGen IR test generator\r\n\r\nRun opt with -passes=loop-deletion \r\nhttps://godbolt.org/z/16zoTYEqx\r\n\r\nTest.ll\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename = \"./reduced.ll\"\r\ntarget datalayout =...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
106239
https://github.com/llvm/llvm-project/issues/106239
crash
15405b32b1cdbefab9ce1b1f301a51ae25404037
2024-08-27T15:51:29
[ "llvm/test/Transforms/IndVarSimplify" ]
{ "fix_commit": "c9a5e1b665dbba898e9981fd7d48881947e6560e", "components": [ "SimplifyIndVar" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine....
commit c9a5e1b665dbba898e9981fd7d48881947e6560e Author: Nikita Popov <npopov@redhat.com> Date: Wed Aug 28 12:54:14 2024 +0200 [IndVars] Check if WideInc available before trying to use it WideInc/WideIncExpr can be null. Previously this worked out because the comparison with WideIncExpr would fail. N...
[ { "file": "llvm/test/Transforms/IndVarSimplify/pr106239.ll", "commands": [ "opt -S -passes=indvars < %s" ], "tests": [ { "test_name": "m", "test_body": "target datalayout = \"n8:16:32:64\"\n\ndefine i32 @m() {\nentry:\n %div.i4 = sdiv i32 1, 0\n br label %for.body.i6\n\...
{ "title": "[clang] Crash with O2 optimization flag", "body": "I compiled this code with -O2 flag and it crashed. The code is:\r\n\r\n```c\r\n#include <stdint.h>\r\nlong a, c;\r\nunsigned d;\r\nint32_t g;\r\nuint8_t h[];\r\nlong b(long p1, long k) {\r\n long e = k;\r\n int b = 0;\r\n while (e) {\r\n e /= 10;\...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
4db93e5d56440be44d8ad2036e2579208c82ad37
null
110295
https://github.com/llvm/llvm-project/issues/110295
crash
51e0a997ca607f64beafb838ba1325f0465eecd4
2024-09-27T16:39:37
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "2c8836c899015cce49a399a6bc47b260a24a22e7", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 2c8836c899015cce49a399a6bc47b260a24a22e7 Author: Florian Hahn <flo@fhahn.com> Date: Sun Sep 29 20:31:23 2024 +0100 [LV] Don't consider predicated insts as invariant unconditionally in CM. Predicated instructions cannot hoisted trivially, so don't treat them as uniform value in the cost model....
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/predicated-instruction-cost.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "predicated_urem_shl_cost", "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:1...
{ "title": "clang crashes at -O{2,3} on x86_64-linux-gnu: Assertion `(BestFactor.Width == LegacyVF.Width || planContainsAdditionalSimplifications(getPlanFor(BestFactor.Width), CostCtx, OrigLoop)) && \" VPlan cost model and legacy cost model disagreed\"' failed ", "body": "Compiler Explorer: https://godbolt.org/z/Yh...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
1aa8a6f6917edbdcad53afad3b00c7e86aa57ffe
null
112476
https://github.com/llvm/llvm-project/issues/112476
miscompilation
3ef630ac339f31686290f9460a40eb2a9c9f5bd0
2024-10-16T04:35:15
[ "llvm/test/Transforms/InstCombine" ]
{ "fix_commit": "09361953116770b646decf5820a9455ada2ba4fc", "components": [ "InstCombine" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit 09361953116770b646decf5820a9455ada2ba4fc Author: Yingwei Zheng <dtcxzyw2333@gmail.com> Date: Wed Oct 16 19:13:52 2024 +0800 [InstCombine] Drop `samesign` in InstCombine (#112480) Closes https://github.com/llvm/llvm-project/issues/112476. diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCo...
[ { "file": "llvm/test/Transforms/InstCombine/icmp-and-shift.ll", "commands": [ "opt < %s -passes=instcombine -S" ], "tests": [ { "test_name": "test_shr_and_1_ne_0", "test_body": "define i1 @test_shr_and_1_ne_0(i32 %a, i32 %b) {\n %shr = lshr i32 %a, %b\n %and = and i32 %...
{ "title": "[InstCombine] `samesign` flag should be dropped in `InstCombinerImpl::foldICmpAndConstConst`", "body": "Reproducer:\r\n```\r\ndefine i1 @src(i32 %x, i32 %y) {\r\n %shf = lshr i32 %x, %y\r\n %or = or i32 %shf, %x\r\n %and = and i32 %or, 1\r\n %ret = icmp samesign ne i32 %and, 0\r\n ret i1 %ret\r\n}\...
true
{ "is_single_file_fix": false, "is_single_func_fix": false }
Cannot find a good commit
null
165014
https://github.com/llvm/llvm-project/issues/165014
crash
90489adf7a9944f53e7be411bab92174d9e069d1
2025-10-24T17:04:27
[ "llvm/test/Analysis/DependenceAnalysis" ]
{ "fix_commit": "616f3b5aa118e95089679fd2a2b79fe769bbaf9a", "components": [ "DependenceAnalysis" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorComb...
commit 616f3b5aa118e95089679fd2a2b79fe769bbaf9a Author: Shimin Cui <scui@ca.ibm.com> Date: Mon Oct 27 15:17:51 2025 -0400 [DA] Fix crash when two loops have different type sizes of becount (#165021) The type sizes of backedge taken counts for two loops can be different and this is to fix the crash ...
[ { "file": "llvm/test/Analysis/DependenceAnalysis/same-sd-for-diff-becount-type-loops.ll", "commands": [ "opt < %s -disable-output \"-passes=print<da>\" -aa-pipeline=basic-aa 2>&1" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine void @f1() {\n;\nentry:\n b...
{ "title": "[DA] Assertion `BitWidth == RHS.BitWidth && \"Comparison requires equal bit widths\"'", "body": "test case:\n\n```\ndefine void @f1() {\nentry:\n br label %for.1.header\n\nfor.1.header: ; preds = %for.2.end, %entry\n br label %for.1.body\n\nfor.1.body: ...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
141628
https://github.com/llvm/llvm-project/issues/141628
crash
8a49db35f45e56c92522c6079e51553e80c07aec
2025-05-27T16:04:50
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "cb648ba97003bc0aa94e86f8e89ea6e3e3d09a11", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 15317, 15322 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit cb648ba97003bc0aa94e86f8e89ea6e3e3d09a11 Author: Alexey Bataev <a.bataev@outlook.com> Date: Thu May 29 08:49:31 2025 -0700 [SLP]Check if the user node has instructions, used only outside Gather nodes with parents, which scalar instructions are used only outside, are generated before the whole...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/many-uses-parent-node.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-99999 < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine i32 @test(ptr addrspace...
{ "title": "[SLPVectorizer] Instruction does not dominate all uses!.. LLVM ERROR: Broken module found, compilation aborted!", "body": "To reproduce run opt with the test below using -passes=slp-vectorizer -slp-threshold=-99999:\n\n[reduced-stripped.ll.zip](https://github.com/user-attachments/files/20462672/reduced-...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
fb86b3d96b73f4e628288b180ef4e038da8b7bc1
null
162585
https://github.com/llvm/llvm-project/issues/162585
crash
ab897ae2e08646e7c60fb61d71df5616950beb66
2025-10-09T02:23:05
[ "llvm/test/Transforms/SimplifyCFG" ]
{ "fix_commit": "e9205ca8cf4235647c3ec2a1946850751ce4e1c8", "components": [ "SimplifyCFG" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp...
commit e9205ca8cf4235647c3ec2a1946850751ce4e1c8 Author: dianqk <dianqk@dianqk.net> Date: Fri Oct 10 06:44:00 2025 +0800 [SimplifyCFG] Remove all incoming values from OtherDest if OtherDest is unreachable (#162677) Fixes #162585. #161000 changed `br i1 true, label %if, label %else` to `br label ...
[ { "file": "llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll", "commands": [ "opt %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -switch-range-to-icmp -S" ], "tests": [ { "test_name": "else_will_be_unreachable", "test_body": "define i32 @else_wi...
{ "title": "[SimplifyCFG] PHINode should have one entry for each predecessor of its parent basic block!", "body": "Reproducer: https://godbolt.org/z/aP7nrYf57\n```\n; bin/opt -passes=\"simplifycfg<switch-range-to-icmp>\" reduced.ll -S\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
bbdcba9b851abe37cf2b10ec6d9b50c12cdd3604
null
178884
https://github.com/llvm/llvm-project/issues/178884
crash
5d01a0ad3d599df56d902b418e1a7eaf3f84db42
2026-01-30T12:59:59
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "b73122d5b7f6f2ae7bce1a4d5e3f4c9fda88c787", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 20583, 20588 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit b73122d5b7f6f2ae7bce1a4d5e3f4c9fda88c787 Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Jan 30 08:45:39 2026 -0800 [SLP]Cast incoming value to a propr type for int nodes, bitcasted to fp Before casting the value to FP type, need to check, if the type for reduced during minbitwidth ana...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/minbw-bitcast-to-fp.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "<module>", "test_body": "\ndefine i16 @test(i16 %conv11) {\n;\nentry:\n %0 = add...
{ "title": "[SLPVectorizer] Assertion `castIsValid(op, S, Ty) && \"Invalid cast!\"' failed.", "body": "Reproducer: https://godbolt.org/z/Kajqfzjfx\n```llvm\n; bin/opt -passes=slp-vectorizer test.ll -S\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 tr...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
null
null
142957
https://github.com/llvm/llvm-project/issues/142957
miscompilation
5835f1e0a33afcae46a6ca4854373785eb3e7fd6
2025-06-05T12:36:31
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "fd97dfbb78e3c9aea16873617b6d61b5b8a64474", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit fd97dfbb78e3c9aea16873617b6d61b5b8a64474 Author: Florian Hahn <flo@fhahn.com> Date: Fri Jun 20 13:05:19 2025 +0100 [LV] Don't mark ptrs as safe to speculate if fed by UB/poison op. (#143204) Add additional checks before marking pointers safe to load speculatively. If some computations feeding...
[ { "file": "llvm/test/Transforms/LoopVectorize/load-deref-pred-poison-ub-ops-feeding-pointer.ll", "commands": [ "opt -p loop-vectorize -force-widen-divrem-via-safe-divisor=false -force-vector-width=2 -S %s" ], "tests": [ { "test_name": "ptr_depends_on_sdiv", "test_body": "...
{ "title": "loop-vectorize miscompile", "body": "llvm commit: 6955a7d134e7\nReproduce with:\n```\nopt -passes=\"loop-vectorize\" bbi-107525_lv.ll -S -o - -mtriple=aarch64-none-linux-gnu --data-layout=\"p:16:16\"\n```\nThe loop-vectorize output contains\n```\npred.sdiv.continue: ; preds...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
Cannot find a good commit
null
104714
https://github.com/llvm/llvm-project/issues/104714
crash
a2d8743cc86f96f6b1cbd85798328bd3fb2bf4de
2024-08-18T15:54:27
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "cb4efe1d078144a72306732a56afea3885650e8d", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit cb4efe1d078144a72306732a56afea3885650e8d Author: Florian Hahn <flo@fhahn.com> Date: Thu Aug 22 21:38:06 2024 +0100 [VPlan] Don't trigger VF assertion if VPlan has extra simplifications. There are cases where VPlans contain some simplifications that are very hard to accurately account for up-f...
[ { "file": "llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "empty_block_with_phi_2", "test_body": "target datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\ntarge...
{ "title": "[VPlan] Assertion `VF.Width == BestVF && \"VPlan cost model and legacy cost model disagreed\"' failed.", "body": "Tested using d082f1f37d8cb7a0c6875537ba873a631b154d53\r\n\r\nC Testcase:\r\n```c\r\nint a;\r\nextern int b[];\r\nsigned char c;\r\nint d[1];\r\nvoid e() {\r\n for (short f = 2; f < c; f += ...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
b841e2eca3b5c8b408214a46593f6a025e0fe48b
null
104637
https://github.com/llvm/llvm-project/issues/104637
crash
13779ec29ed724666407bd60f8c4cc8228107ea5
2024-08-16T19:54:48
[ "llvm/test/Transforms/SLPVectorizer" ]
{ "fix_commit": "4a0bbbcbcf6ebc87e794e7b86b9f4651bffcd806", "components": [ "SLPVectorizer" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [ [ 7144, 7149 ] ], "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, ...
commit 4a0bbbcbcf6ebc87e794e7b86b9f4651bffcd806 Author: Alexey Bataev <a.bataev@outlook.com> Date: Fri Aug 16 13:24:03 2024 -0700 [SLP]Fix PR104637: do not create new nodes for fully overlapped non-schedulable nodes If the scalars do not require scheduling and were already vectorized, but in the dif...
[ { "file": "llvm/test/Transforms/SLPVectorizer/X86/full-non-schedulable-overlap.ll", "commands": [ "opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s" ], "tests": [ { "test_name": "test", "test_body": "define void @test(double %v) {\nentry:\n %mul.3 = ...
{ "title": "SLP Vectorizer crash due to commit ca654acc16c43191228eadfec8f7241dca10b0c3", "body": "ca654acc16c43191228eadfec8f7241dca10b0c3 change in SLP Vectorizer causes a crash for this test case:\r\n\r\n```\r\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\...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
66775f8ccdcc8264ef349518e1c59d96d4227823
null
158319
https://github.com/llvm/llvm-project/issues/158319
crash
111de45e838a7d33637da8807212284c988f7fae
2025-09-12T16:14:59
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "ef7e03a2d1571e3c651fa9ccd205dbacf1a103c8", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit ef7e03a2d1571e3c651fa9ccd205dbacf1a103c8 Author: Florian Hahn <flo@fhahn.com> Date: Sat Sep 13 18:13:22 2025 +0100 [VPlan] Limit ExtractLastElem fold to recipes guaranteed single-scalar. vputils::isSingleScalar(A) may return true to recipes that produce only a single scalar value, but they co...
[ { "file": "llvm/test/Transforms/LoopVectorize/first-order-recurrence-with-uniform-ops.ll", "commands": [ "opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s", "opt -passes=loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S %s", "opt -passes=lo...
{ "title": "[LoopVectorize] Instruction does not dominate all uses!", "body": "Reproducer: https://godbolt.org/z/P1ea8d1bT\n```\n; bin/opt -passes=loop-vectorize test.ll -S\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-linu...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
c4b17bf9ed46acbd8b28987f2a6262964e4e2072
null
108697
https://github.com/llvm/llvm-project/issues/108697
crash
848cb21ddca5dc4d8c52e487264936be8f1bfe8d
2024-09-14T13:01:28
[ "llvm/test/Transforms/LoopVectorize" ]
{ "fix_commit": "9de327c94d0c995803b6485fb28ac4cad1e53bbe", "components": [ "LoopVectorize" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.c...
commit 9de327c94d0c995803b6485fb28ac4cad1e53bbe Author: Florian Hahn <flo@fhahn.com> Date: Wed Oct 2 20:16:41 2024 +0100 [LV] Generalize predication checks from 2c8836c899 for operands. This fixes another case where the VPlan-based and legacy cost models disagree. If any of the operands is predicate...
[ { "file": "llvm/test/Transforms/LoopVectorize/X86/predicated-instruction-cost.ll", "commands": [ "opt -p loop-vectorize -S %s" ], "tests": [ { "test_name": "predicated_urem_shl_cost", "test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:1...
{ "title": "clang crashes on valid code at -O{2,3} on x86_64-linux-gnu: Assertion `(BestFactor.Width == LegacyVF.Width || planContainsAdditionalSimplifications(getPlanFor(BestFactor.Width), CostCtx, OrigLoop)) && \" VPlan cost model and legacy cost model disagreed\"' failed ", "body": "Compiler Explorer: https://go...
true
{ "is_single_file_fix": true, "is_single_func_fix": true }
1aa8a6f6917edbdcad53afad3b00c7e86aa57ffe
null
107139
https://github.com/llvm/llvm-project/issues/107139
crash
5d17293caaf0f62ea94fecc137b9b6f07c659dac
2024-09-03T18:28:59
[ "llvm/test/Transforms/Coroutines" ]
{ "fix_commit": "853bff2122e1f42398587f76234c05d56f16318e", "components": [ "Coroutines" ], "bug_location_lineno": { "llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null, "llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null, "llvm/lib/Transforms/Vectorize/VectorCombine.cpp"...
commit 853bff2122e1f42398587f76234c05d56f16318e Author: Yuxuan Chen <ych@fb.com> Date: Thu Sep 12 10:45:20 2024 -0700 [Coroutines] properly update CallGraph in CoroSplit (#107935) Fixes https://github.com/llvm/llvm-project/issues/107139. We weren't updating the call graph properly in CoroSplit....
[ { "file": "llvm/test/Transforms/Coroutines/gh107139-split-in-scc.ll", "commands": [ "opt < %s -passes='cgscc(coro-split)' -S" ], "tests": [ { "test_name": "<module>", "test_body": "; Verify that we don't crash on mutually recursive coroutines\n\ntarget triple = \"x86_64-r...
{ "title": "\"Invalidated the current SCC\" assertion failure after #79712", "body": "For the source file in https://gist.github.com/smeenai/fcd14380467e813a28f1ef8c5484b775 (reduced from a large example that uses libunifex; it's probably possible to reduce this further but I'm not at all familiar with coroutines),...
true
{ "is_single_file_fix": true, "is_single_func_fix": false }
099be86433a69f264aeb70e512ba1bbd0c7aefd7
null