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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
117537 | https://github.com/llvm/llvm-project/issues/117537 | crash | c979ec05642f292737d250c6682d85ed49bc7b6e | 2024-11-25T10:47:02 | [
"llvm/test/Transforms/SimpleLoopUnswitch"
] | {
"fix_commit": "fc5c89900f2a4b50e0f3a88ef7c89115d93684f4",
"components": [
"SimpleLoopUnswitch"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorComb... | commit fc5c89900f2a4b50e0f3a88ef7c89115d93684f4
Author: Nikita Popov <npopov@redhat.com>
Date: Wed Nov 27 11:47:22 2024 +0100
[SimpleLoopUnswitch] Fix LCSSA phi node invalidation
Fixes https://github.com/llvm/llvm-project/issues/117537.
diff --git a/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp b/l... | [
{
"file": "llvm/test/Transforms/SimpleLoopUnswitch/pr117537.ll",
"commands": [
"opt -S -passes='print<scalar-evolution>,simple-loop-unswitch<nontrivial>,print<scalar-evolution>' -verify-scev < %s 2>&1"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test(p... | {
"title": "[SCEV] Assertion `isAvailableAtLoopEntry(Op, L) && \"SCEVAddRecExpr operand is not available at loop entry!\"' failed.",
"body": "Faulty IR:\n```\n; ModuleID = 'test.ll'\nsource_filename = \"/nfs/build-cache/zvm-dev-4598/jdk11/x86_64/fastdebug/lib/server/boilerplate.ll\"\ntarget datalayout = \"e-m:e-p27... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 2d8d622c738e636c4405072825c01bb14f87bb2f | null |
101337 | https://github.com/llvm/llvm-project/issues/101337 | crash | 1b936e4812ab395328203f65cacd4ffe02bb318e | 2024-07-31T14:11:24 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "cd08fadd03904806fa26a1f117879ddae34fbf67",
"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 cd08fadd03904806fa26a1f117879ddae34fbf67
Author: Florian Hahn <flo@fhahn.com>
Date: Mon Aug 12 14:45:43 2024 +0100
[LV] Include chains feeding inductions in cost precomputation.
Include chain of ops feeding inductions in cost precomputation for
inductions, not just the induction increment. In... | [
{
"file": "llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll",
"commands": [
"opt -p loop-vectorize -mtriple=x86_64-apple-macosx -S %s"
],
"tests": [
{
"test_name": "iv_and_step_trunc",
"test_body": "target datalayout = \"e-m:o-p270:32:32-p271:32:32-p272:64:64-i64... | {
"title": "Assertion `VF.Width == BestVF && \"VPlan cost model and legacy cost model disagreed\"' failed.",
"body": "To reproduce run opt with \r\n```\r\n-passes=loop-vectorize --mcpu=skylake-avx512 --mattr=+prfchw,-cldemote,+avx,+aes,+sahf,+pclmul,-xop,+crc32,+xsaves,-avx512fp16,-usermsr,-sm4,-egpr,+sse4.1,-avx51... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 7d0a5848f2c72854d7d5a795fcc265b8ba787782 | null |
83931 | https://github.com/llvm/llvm-project/issues/83931 | crash | d95a0d7c0ff324c1e84606d26591416e6bf02984 | 2024-03-05T00:39:01 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "d51fcd4ed86ac6075c8a25b053c2b66051feaf62",
"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 d51fcd4ed86ac6075c8a25b053c2b66051feaf62
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Tue Mar 5 21:08:15 2024 +0800
[InstCombine] Handle scalable splat in `getFlippedStrictnessPredicateAndConstant` (#83980)
This patch adds support for canonicalization of icmp with a scalable
splat. Som... | [
{
"file": "llvm/test/Transforms/InstCombine/pr83931.ll",
"commands": [
"opt -S -passes=instcombine < %s"
],
"tests": [
{
"test_name": "dont_crash",
"test_body": "define <vscale x 2 x i1> @dont_crash(<vscale x 2 x i64> %x) {\nentry:\n %div = sdiv <vscale x 2 x i64> %x, sp... | {
"title": "[InstCombine][RISC-V] UNREACHABLE executed at InstCombineCompares.cpp:2788",
"body": "Testcase:\r\n```c\r\nchar a;\r\nint b;\r\nlong *c[5][5];\r\nint main() {\r\n for (int d = -2041027590; d; d++)\r\n a |= b <= c[3][d][8] / 309383;\r\n}\r\n```\r\n\r\nReduced LLVM IR:\r\n```llvm ir\r\n; ModuleID = 'r... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
129373 | https://github.com/llvm/llvm-project/issues/129373 | hang | 88460137d97c0b8d3742203e0173ab9ed6c5c8a7 | 2025-03-01T09:39:32 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "5ddf40fa78705384966c22da78e12134df7bd723",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit 5ddf40fa78705384966c22da78e12134df7bd723
Author: Simon Pilgrim <llvm-dev@redking.me.uk>
Date: Sat Mar 1 16:54:22 2025 +0000
[VectorCombine] scalarizeLoadExtract - don't create scalar loads if any extract is waiting to be erased (#129375)
If any extract is waiting to be erased, then bail out as th... | [
{
"file": "llvm/test/Transforms/VectorCombine/X86/load-extractelement-scalarization.ll",
"commands": [
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2",
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=avx2"
],
"tests": [
{
"test_name": "multip... | {
"title": "[VectorCombine] scalarizeLoadExtract - infinite loop if we scalarize a dead extract waiting to be erased",
"body": "Reduced test case:\n\n```ll\ndefine void @infinite_loop(ptr %p0) {\n %load = load <4 x float>, ptr %p0, align 8\n %shuffle0 = shufflevector <4 x float> zeroinitializer, <4 x float> %load... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 035e64c0ec02b237a266ebc672718037fdd53eb2 | null |
180780 | https://github.com/llvm/llvm-project/issues/180780 | crash | 0215f6b6cf810d9ab6d02fc7bbec5c26ad4701ff | 2026-02-10T17:09:08 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "d3afa171ee236dfef4b7cd4b4dd0b0fb165a48cc",
"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 d3afa171ee236dfef4b7cd4b4dd0b0fb165a48cc
Author: Florian Hahn <flo@fhahn.com>
Date: Wed Feb 11 20:52:07 2026 +0000
[LV] Don't scalarize loads that need predication in legacy CM.
The legacy cost model tries to scalarize loads that are used as
pointers. Skip if the load would need predicating w... | [
{
"file": "llvm/test/Transforms/LoopVectorize/X86/cost-model.ll",
"commands": [
"opt < %s -passes=loop-vectorize -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx -S"
],
"tests": [
{
"test_name": "known_deref_load_tail_folding",
"test_body": "target datalayout = \"e-p:6... | {
"title": "[LV]VPlan cost model and legacy cost model disagreed",
"body": "https://godbolt.org/z/o9sPfa35r\n@fhahn \nMaybe related to https://github.com/llvm/llvm-project/commit/7defb0a4a35817ee7accb310d99912152a542ec2",
"author": "alexey-bataev",
"labels": [
"vectorizers",
"crash-on-valid"
],
"com... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
116249 | https://github.com/llvm/llvm-project/issues/116249 | miscompilation | c1f6cb74634509d0e4204dadd46566185fa33e2b | 2024-11-14T15:57:03 | [
"llvm/test/Transforms/IndVarSimplify"
] | {
"fix_commit": "40a647fc7dc6048c92e2d580b61f5feca0785980",
"components": [
"IndVarSimplify"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.... | commit 40a647fc7dc6048c92e2d580b61f5feca0785980
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Fri Nov 15 09:15:37 2024 +0800
[IndVarSimplify] Drop samesign flags after narrowing compares (#116263)
Samesign flag cannot be preserved after narrowing the compare since the
position of the sign bit ... | [
{
"file": "llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll",
"commands": [
"opt -passes=indvars -S < %s -indvars-predicate-loops=0"
],
"tests": [
{
"test_name": "test_drop_icmp_samesign",
"test_body": "target datalayout = \"e-p:64:64:64-i1:8:8-i8:8:8-i16:16... | {
"title": "[IndVarSimplify] samesign flag should be dropped after narrowing",
"body": "Found with https://github.com/dtcxzyw/llvm-ub-aware-interpreter.\r\nReproducer: https://alive2.llvm.org/ce/z/fcnvLv\r\n```\r\n; bin/opt -passes=indvars test.ll -S\r\ndefine i8 @test(i1 %cond, i32 range(i32 0, 32) %x) {\r\nentry:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
181837 | https://github.com/llvm/llvm-project/issues/181837 | crash | 696aa3c0b0989037edc5982154d1d777f71374bf | 2026-02-17T15:19:26 | [
"llvm/test/Transforms/SimplifyCFG"
] | {
"fix_commit": "31e5f86a3cdc960ef7b2f0a533c4a37cf526cacd",
"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 31e5f86a3cdc960ef7b2f0a533c4a37cf526cacd
Author: Congcong Cai <congcongcai0907@163.com>
Date: Fri Feb 20 07:03:27 2026 +0800
[SimplifyCFG] process prof data when remove case in umin (#182261)
In #164097, we introduce a optimization for umin. But it does not handle
profile data correctly.
... | [
{
"file": "llvm/test/Transforms/SimplifyCFG/switch-umin.ll",
"commands": [
"opt -S -passes=simplifycfg < %s"
],
"tests": [
{
"test_name": "switch_remove_dead_cases",
"test_body": "declare void @a()\n\ndeclare void @b()\n\ndefine void @switch_remove_dead_cases(i32 %x) {\n ... | {
"title": "[simplifycfg] number of prof branch_weights metadata operands does not correspond to number of succesors",
"body": "To reproduce run opt with the test below, -passes=simplifycfg \n\n[reduced-stripped.ll.zip](https://github.com/user-attachments/files/25368313/reduced-stripped.ll.zip)\n\nReproducer: https... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
139202 | https://github.com/llvm/llvm-project/issues/139202 | miscompilation | 8bd35ca41253ea36fff78d5acf59956a30b6555b | 2025-05-09T03:49:41 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "c807395011a027caae9ac196edfac328fb90443a",
"components": [
"LoopAccessAnalysis",
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
1584,
1590
],
[
2216,
2222
],
[
3... | commit c807395011a027caae9ac196edfac328fb90443a
Author: Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com>
Date: Thu May 15 10:08:05 2025 +0100
[LAA/SLP] Don't truncate APInt in getPointersDiff (#139941)
Change getPointersDiff to return an std::optional<int64_t>, and fill
this value with using ... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/long-pointer-distance.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-grtev4-linux-gnu < %s -mattr=+avx"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test(ptr %this) {\nentry:\n store... | {
"title": "[SLPV] Pointer offsets truncated to 32-bits, resulting in wrong code",
"body": "Consider:\n\n```\n$ cat t.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 @_ZN12_GLOBAL__N_111LargeObjec... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | Cannot find a good commit | null |
174622 | https://github.com/llvm/llvm-project/issues/174622 | crash | c6db8f4229d70169949430185e156fb2e6e4150e | 2026-01-06T16:57:34 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "2f7e218017db69454ea84e1849fcb9a11b1f7fef",
"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 2f7e218017db69454ea84e1849fcb9a11b1f7fef
Author: Florian Hahn <flo@fhahn.com>
Date: Sun Jan 11 20:51:12 2026 +0000
[VPlan] Add missing sext(sub) SCEV fold to getSCEVExprForVPValue.
SCEV has a manual fold when doing SCEV construction from IR, that is not
integrated in the regular SCEV construc... | [
{
"file": "llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll",
"commands": [
"opt -p loop-vectorize -mtriple=arm64-apple-macosx -S %s"
],
"tests": [
{
"test_name": "sext_sub_nsw_for_address",
"test_body": "target datalayout = \"e-m:o-i64:64-i128:128-n32:64-S12... | {
"title": "[LV]VPlan cost model and legacy cost model disagreed",
"body": "https://godbolt.org/z/Gr8nEMWK9\n\nLooks like it started crashing after `Fri Dec 26 13:38:14 2025 | LLVM | 60e5b86052ca1103499e87ee32c8228c71b6c753 | [VPlan] Support extends and truncs in getSCEVExprForVPValue. (NFCI)`\n@fhahn ",
"auth... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | null | null |
117157 | https://github.com/llvm/llvm-project/issues/117157 | crash | d0246fe1e79c6ea06b6b72f66a71a96a3342aa42 | 2024-11-21T13:15:24 | [
"llvm/test/Transforms/LICM"
] | {
"fix_commit": "d1408667de830da8817c24cb9788da6caae551c7",
"components": [
"MemorySSAUpdater"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombin... | commit d1408667de830da8817c24cb9788da6caae551c7
Author: Nikita Popov <npopov@redhat.com>
Date: Thu Sep 4 10:23:29 2025 +0200
[MemorySSA] Don't create phi nodes in fixupDefs() (#156021)
The general flow when inserting MemoryDefs is:
* Insert the def and set it's defining access (may insert phis... | [
{
"file": "llvm/test/Transforms/LICM/pr117157.ll",
"commands": [
"opt -S -passes=licm -verify-memoryssa < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test(ptr %p) {\n;\nentry:\n br label %loop0\n\nloop0: ... | {
"title": "[clang] Crash at O1: Assertion `MSSA->dominates(NewDef, FirstDef) && \"Should have dominated the new access\"' failed",
"body": "When I compiled this code with -O1, it crashed:\n\n```c\nint a, b, c, d;\nlong e, f;\nlong *g;\nchar h;\nstatic long i[];\nvoid j() {\n while (1) {\n if (a == 0)\n br... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
155738 | https://github.com/llvm/llvm-project/issues/155738 | crash | 78b45b489559cd44437af4eac6c10188eb0cec3c | 2025-08-28T03:01:57 | [
"llvm/test/Transforms/FunctionSpecialization"
] | {
"fix_commit": "0ace96cca79c03c668b260dd01996e3d693e3f4f",
"components": [
"SCCP"
],
"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 0ace96cca79c03c668b260dd01996e3d693e3f4f
Author: XChy <xxs_chy@outlook.com>
Date: Thu Aug 28 19:13:27 2025 +0800
[SCCP][FuncSpec] Poison unreachable constant global variable user (#155753)
Fixes #155738.
The original assumption "we already replaced its users with a constant"
for the globa... | [
{
"file": "llvm/test/Transforms/FunctionSpecialization/dead-gv-load.ll",
"commands": [
"opt -passes=ipsccp --funcspec-min-function-size=1 -S < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n@gv = internal global ptr null\n\ndefine i8 @caller() {\n;\nentry:\... | {
"title": "[IPSCCP] Use still stuck around after Def is destroyed",
"body": "Reproducer:\n```\n; bin/opt -passes=ipsccp --funcspec-min-function-size=1 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\"... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 6bd844812385dd5cb65e08fe9561be9f91ace876 | null |
77468 | https://github.com/llvm/llvm-project/issues/77468 | crash | 39b2104b4a4e0990eddc763eab99b28e8deab953 | 2024-01-09T13:19:28 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "59d6f033a25d161e494457e8bb6e30375eb7f40f",
"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 59d6f033a25d161e494457e8bb6e30375eb7f40f
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Jan 12 13:14:13 2024 +0000
[VPlan] Support narrowing widened loads in truncateToMinimimalBitwidths.
MinBWs may also contain widened load instructions, handle them by only
narrowing their result.
F... | [
{
"file": "llvm/test/Transforms/LoopVectorize/trunc-loads-p16.ll",
"commands": [
"opt -p loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -S %s"
],
"tests": [
{
"test_name": "pr77468",
"test_body": "target datalayout = \"p:16:16\"\n\ndefine void @pr77468(pt... | {
"title": "Assertion `MinBWs.size() == NumProcessedRecipes && \"some entries in MinBWs haven't been processed\"' failed. for opt -passes=loop-vectorize",
"body": "llvm commit: c1ed45a271145\r\nReproduce with: ```opt -passes=\"loop-vectorize\" bbi-90681_2.ll -S -o /dev/null -mtriple=x86_64```\r\nResult:\r\n```\r\no... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 70535f5e609f747c28cfef699eefb84581b0aac0 | null |
129242 | https://github.com/llvm/llvm-project/issues/129242 | crash | 5faa5f848a35de13196f2f516f51aa970da942b4 | 2025-02-28T13:35:26 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "a36a67c79afaa1fdd0dbe0440ec852fd4eb3a532",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
11425,
11435
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit a36a67c79afaa1fdd0dbe0440ec852fd4eb3a532
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Fri Feb 28 13:15:46 2025 -0800
[SLP]Fix the analysis of the user buildvector nodes for minbitwidth
If the user node is a buildvector/gather node and it has no internal
instructions state, need to check... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/user-buildvector-with-minbiwidth.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i32 @test(i8 %0, i32 %conv2, i1 %c... | {
"title": "clang crashes on valid code at -O{2,3} on x86_64-linux-gnu: Assertion `valid() && \"InstructionsState is invalid.\"' 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/8KTq9hGv9\n\n```\n[516] % clangtk -v\nc... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 894935cb5146fd2ac6334cc8b11e6d6e0e264fe6 | null |
128838 | https://github.com/llvm/llvm-project/issues/128838 | crash | 9c65e6ac115a7d8566c874537791125c3ace7c1a | 2025-02-26T07:25:33 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "62994c3291239f3d11f958d002319b2bd6eddbc9",
"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 62994c3291239f3d11f958d002319b2bd6eddbc9
Author: Florian Hahn <flo@fhahn.com>
Date: Wed Mar 12 22:03:18 2025 +0000
[VPlan] Also introduce explicit broadcasts for values from entry VPBB.
Update and generalize materializeBroadcasts to also introduce explicit
broadcasts for VPValues defined in t... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/illegal-type.ll",
"commands": [
"opt < %s -passes=loop-vectorize -mattr=+v -force-vector-width=4 -scalable-vectorization=on -S 2>&1"
],
"tests": [
{
"test_name": "uniform_store_i1",
"test_body": "target triple = \"riscv6... | {
"title": "Assertion `!NodePtr->isKnownSentinel()' failed.",
"body": "To reproduce run opt with the test below, -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:64-i128:128-f80:128-n8:16:32:64-S128-ni:1-p2... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | Timeout | null |
98665 | https://github.com/llvm/llvm-project/issues/98665 | crash | 662c6fc74c1ae7fdefd27524dfaeb7f3e9a1f553 | 2024-07-12T17:30:32 | [
"llvm/test/Transforms/EarlyCSE"
] | {
"fix_commit": "34bfed63313d1340378fc1be931253333db8c36c",
"components": [
"ConstantFold"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.cp... | commit 34bfed63313d1340378fc1be931253333db8c36c
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Mon Jul 15 13:00:25 2024 +0800
[ConstantFold] Fix result type when folding powi.f16 (#98681)
Fixes #98665.
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index... | [
{
"file": "llvm/test/Transforms/EarlyCSE/math-2.ll",
"commands": [
"opt -passes=early-cse -earlycse-debug-hash -S -o - %s"
],
"tests": [
{
"test_name": "i_powi",
"test_body": "; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)\ndeclar... | {
"title": "Misoptimization: `EarlyCSEPass` uses replaces `powi.f16` with `float` result",
"body": "It looks like EarlyCSEPass is transformin the following:\r\n\r\n```llvm\r\n %_6 = alloca [48 x i8], align 8\r\n %_3 = alloca [2 x i8], align 2\r\n %0 = call half @llvm.powi.f16.i32(half 0xH3C00, i32 1) ; 0xH3C00 =... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
89516 | https://github.com/llvm/llvm-project/issues/89516 | miscompilation | 18bb175428f520aaa4a5e388bd3b680a1a7c60c0 | 2024-04-20T22:58:16 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "6309440c218778db027306826993e484eab2be17",
"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 6309440c218778db027306826993e484eab2be17
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Sun Apr 21 22:41:32 2024 +0800
[InstCombine] Fix unexpected overwriting in `foldSelectWithSRem` (#89539)
Fixes #89516
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp b/llvm/lib/Transf... | [
{
"file": "llvm/test/Transforms/InstCombine/select-divrem.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "rem_euclid_pow2_false_arm_folded",
"test_body": "define i32 @rem_euclid_pow2_false_arm_folded(i32 %n) {\n %rem = srem i32 %n, 2\n ... | {
"title": "miscompile of vanilla integer code by InstCombine",
"body": "https://alive2.llvm.org/ce/z/jRfVLr\r\n\r\nthis function:\r\n```llvm\r\ndefine i8 @f(i8 %0, i8 %1) {\r\n %3 = icmp slt i8 %1, 0\r\n %4 = shl i8 1, %0\r\n %5 = srem i8 1, %4\r\n %6 = add i8 %5, %4\r\n %7 = select i1 %3, i8 %6, i8 %5\r\n r... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 211692137af45fcf6d6b14582e004a746f9e5b2e | null |
134115 | https://github.com/llvm/llvm-project/issues/134115 | crash | 6388a7acf7e31fdc7b9c168bd6ce0f4d25c98cd0 | 2025-04-02T17:01:09 | [
"llvm/test/Transforms/FunctionAttrs"
] | {
"fix_commit": "0547e84181ff10b24d6363bbfc97f168fe245397",
"components": [
"FunctionAttrs"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit 0547e84181ff10b24d6363bbfc97f168fe245397
Author: Arthur Eubanks <aeubanks@google.com>
Date: Wed Apr 23 15:56:24 2025 -0700
[FunctionAttrs] Bail if initializes range overflows 64-bit signed int (#137053)
Otherwise the range doesn't make sense since we interpret it as signed.
Fixes #134115... | [
{
"file": "llvm/test/Transforms/FunctionAttrs/initializes.ll",
"commands": [
"opt -passes=function-attrs -S < %s"
],
"tests": [
{
"test_name": "memset_offset_1_size_0",
"test_body": "define void @memset_offset_1_size_0(ptr %dst, ptr %src) {\n %dst.1 = getelementptr inbou... | {
"title": "FunctionAttrs: Assertion `isOrder edRanges(RangesRef)' failed.",
"body": "```\n$ cat /tmp/f.ll\ndefine i32 @f(ptr %arg, ptr %arg2) {\n store ptr %arg, ptr %arg2\n %getelementptr = getelementptr float, ptr %arg, i64 2305843009213693951\n %load = load i32, ptr %getelementptr, align 4\n ret i32 %load\n... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
109468 | https://github.com/llvm/llvm-project/issues/109468 | crash | 51039101cf32591782ef564a108db71150a3b7c3 | 2024-09-20T20:22:11 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "a068b974b199b0e7350da2d9506adc7df3995ce3",
"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 a068b974b199b0e7350da2d9506adc7df3995ce3
Author: Elvis Wang <elvis.wang@sifive.com>
Date: Thu Sep 26 07:10:25 2024 +0800
[VPlan] Implement VPWidenLoad/StoreEVLRecipe::computeCost(). (#109644)
Currently the EVL recipes transfer the tail masking to the EVL.
But in the legacy cost model, the ma... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-uniform-store.ll",
"commands": [
"opt < %s --prefer-predicate-over-epilogue=predicate-dont-vectorize --passes=loop-vectorize -mcpu=sifive-p470 -mattr=+v,+f -force-tail-folding-style=data-with-evl -S"
],
"tests": ... | {
"title": "[LV][VPlan] Crash due to disagreements on the VPlan cost v.s. legacy cost model",
"body": "Given this input:\r\n``` llvm\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 void @lshift_significand(i32 %n, ptr %0) {\r\nentry... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | ed220e15718498d0f854f1044ddcbfee00739aa7 | null |
178245 | https://github.com/llvm/llvm-project/issues/178245 | miscompilation | ff79d7d1bf0415e52ad542b059c55f0e92b3bad6 | 2026-01-27T16:11:49 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "909041e4802c4b9a2223ca04099f35bf1dbbd460",
"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 909041e4802c4b9a2223ca04099f35bf1dbbd460
Author: Matt Arsenault <Matthew.Arsenault@amd.com>
Date: Tue Jan 27 18:21:44 2026 +0100
InstCombine: Check one use before trying to simplify copysign sign (#178251)
Fixes #178245
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib... | [
{
"file": "llvm/test/Transforms/InstCombine/copysign.ll",
"commands": [
"opt -S -passes=instcombine<no-verify-fixpoint> < %s"
],
"tests": [
{
"test_name": "issue178245",
"test_body": "; bin/opt -passes=\"instcombine<no-verify-fixpoint>\" test.ll -S\ndefine i32 @src(i32 %i... | {
"title": "[InstCombine] Miscompilation at O1",
"body": "Reproducer: https://alive2.llvm.org/ce/z/BPpLg_\n```llvm\n; bin/opt -passes=\"instcombine<no-verify-fixpoint>\" test.ll -S\ndefine i32 @src(i32 %i.0.i.i) {\nentry:\n %conv102.i.i = sext i32 %i.0.i.i to i64\n %add.i128.i.i = add i64 %conv102.i.i, 1177359834... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
165359 | https://github.com/llvm/llvm-project/issues/165359 | crash | 6a0ba8b7a4176bbc78f4dcff4f21bae1e2097d67 | 2025-10-28T08:46:02 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "a04c6b5512bf091b4eec6c4f7dbfaaf44b290906",
"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 a04c6b5512bf091b4eec6c4f7dbfaaf44b290906
Author: Ryan Buchner <buchner.ryan@gmail.com>
Date: Thu Nov 13 08:12:40 2025 -0800
[LV] Update LoopVectorizationPlanner::emitInvalidCostRemarks to handle reduction plans (#165913)
The TypeSwitch for extracting the Opcode now handles the `VPReductionRecipe`... | [
{
"file": "llvm/test/Transforms/LoopVectorize/AArch64/bug165359.ll",
"commands": [
"opt < %s -passes=loop-vectorize -S -pass-remarks-analysis=loop-vectorize -disable-output"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n\ntarget triple = \"aarch64-unknown-linux... | {
"title": "[LV][SVE] Crashed when optimization remarks are enabled: \"Fell off the end of a type-switch\"",
"body": "Some Fortran benchmarks (e.g., SPEC2017 and NPB) fail to compile when optimization remarks are enabled.\nThe following is a reproducer.\n\n```\n$ cat repro.f90\nsubroutine repro(iter, v, sum)\n imp... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
98838 | https://github.com/llvm/llvm-project/issues/98838 | miscompilation | 9ba9e480fa4ef1f37a2b6b51603ac8e446cca5ff | 2024-07-14T21:26:59 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "beccecaacde405a3b50891c67594eccbcd1c8b08",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
14201,
14209
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit beccecaacde405a3b50891c67594eccbcd1c8b08
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Jul 15 07:03:22 2024 -0700
[SLP]Fix PR98838: do no replace condition of select-based logical op by poison.
If the reduction operation is a select-based logical op, the condition
should be replaced ... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/select-reduction-op.ll",
"commands": [
"opt -S --passes=slp-vectorizer < %s"
],
"tests": [
{
"test_name": "src",
"test_body": "define i1 @src(i1 %cmp4.118.i) {\n %cmp4.118.i.not = xor i1 %cmp4.118.i, true\n %brmerge = se... | {
"title": "wrong code at -O3 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/fzsqjEPWW\r\n\r\n```\r\n[562] % clangtk -v\r\nclang version 19.0.0git (https://github.com/llvm/llvm-project.git 52139d8f... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 385118644ccabe27a634804c7db60734746c170f | null |
87798 | https://github.com/llvm/llvm-project/issues/87798 | crash | 49ef12a08c4c7d7ae4765929e72fe2320a12b08c | 2024-04-05T16:02:46 | [
"llvm/test/Analysis/ScalarEvolution"
] | {
"fix_commit": "54a9f0007cb4f19d2e9df30405c5027229f5def0",
"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 54a9f0007cb4f19d2e9df30405c5027229f5def0
Author: annamthomas <anna@azul.com>
Date: Wed Apr 10 09:02:23 2024 -0400
[SCEV] Fix BinomialCoefficient Iteration to fit in W bits (#88010)
BinomialCoefficient computes the value of W-bit IV at iteration It of a loop. When W is 1, we can call multiplicativ... | [
{
"file": "llvm/test/Analysis/ScalarEvolution/pr87798.ll",
"commands": [
"opt -disable-output -passes='print<scalar-evolution>' -verify-scev < %s 2>&1"
],
"tests": [
{
"test_name": "pr87798",
"test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:6... | {
"title": "Assertion failure: \"multiplicative inverse is only defined for odd numbers\" exposed through usage in SCEV",
"body": "With this change [1b76120](https://github.com/llvm/llvm-project/commit/1b761205f2686516cebadbcbc37f798197d9c482) landed in https://github.com/llvm/llvm-project/pull/87610, we started se... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 1b761205f2686516cebadbcbc37f798197d9c482 | null |
162374 | https://github.com/llvm/llvm-project/issues/162374 | crash | ab71b7793a0480f820c62c0bbc69e6c8e7434c2a | 2025-10-07T21:25:00 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "4bf5ab4f9d483c6cefbbd8d04774cea5571dce45",
"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 4bf5ab4f9d483c6cefbbd8d04774cea5571dce45
Author: Florian Hahn <flo@fhahn.com>
Date: Sun Oct 12 14:00:22 2025 +0100
[VPlan] Set flags when constructing truncs using VPWidenCastRecipe.
VPWidenCastRecipes with Trunc opcodes where missing the correct OpType
for IR flags. Update createWidenCast to... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/truncate-to-minimal-bitwidth-evl-crash.ll",
"commands": [
"opt -passes=loop-vectorize -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue -mtriple=riscv64 -mattr=+v -S %s"
],
"tests": [
{
"test_name": "truncate_i16_to... | {
"title": "[LoopVectorize] Assertion `OpType == Other.OpType && \"OpType must match\"' failed.",
"body": "Testcase:\n```llvm ir\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\ntarget triple = \"riscv64-unknown-linux-gnu\"\n\ndefine void @init(ptr %arrayidx2.i, ptr %arrayidx13.i) #0 {\nentry:\n ... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | c3e76b27709f93c9e945caa29dae596b581289e2 | null |
88849 | https://github.com/llvm/llvm-project/issues/88849 | crash | 6b98ab95f0d36705b5a1fc1e755c992ba2329c89 | 2024-04-16T07:36:13 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "b8741cc185e89a95c9161218084f7c8b5578cf96",
"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 b8741cc185e89a95c9161218084f7c8b5578cf96
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Jul 19 10:33:07 2024 +0100
[VPlan] Relax assertion retrieving a scalar from VPTransformState::get.
The current assertion VPTransformState::get when retrieving a single
scalar only does not account for case... | [
{
"file": "llvm/test/Transforms/LoopVectorize/SystemZ/scalar-steps-with-users-demanding-all-lanes-and-first-lane-only.ll",
"commands": [
"opt -p loop-vectorize -mtriple=s390x-unknown-linux -mcpu=z16 -S %s"
],
"tests": [
{
"test_name": "test_scalar_iv_steps_used_by_replicate_and_f... | {
"title": "LoopVectorizer asserts: Assertion `(VF.isScalar() || Def->isLiveIn() || (hasScalarValue(Def, VPIteration(Part, 0)) && Data.PerPartScalars[Def][Part].size() == 1)) && \"Trying to access a single scalar per part but has multiple scalars \" \"per part.",
"body": "[tc_crash35_aftercreduce.ll.tar.gz](https:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | d9a685a9dd589486e882b722e513ee7b8c84870c | null |
91127 | https://github.com/llvm/llvm-project/issues/91127 | miscompilation | 30367cb5982dfdab2655401f020711311e7d78b9 | 2024-05-05T15:35:24 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "d3dad7a74be50d90754bf5c072e1a2330e92712c",
"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 d3dad7a74be50d90754bf5c072e1a2330e92712c
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Mon May 6 16:30:07 2024 +0800
[InstCombine] Fix miscompilation caused by #90436 (#91133)
Proof: https://alive2.llvm.org/ce/z/iRnJ4i
Fixes https://github.com/llvm/llvm-project/issues/91127.
diff ... | [
{
"file": "llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll",
"commands": [
"opt -S -passes=instcombine < %s"
],
"tests": [
{
"test_name": "trunc_equality_both_sext",
"test_body": "define i1 @trunc_equality_both_sext(i32 %x, i8 %y) {\n %xt = trunc nuw nsw i32 %x to ... | {
"title": "[InstCombine] Miscompilation which converts `icmp eq (trunc nsw i64 X), (trunc nsw i32 Y)` into `icmp eq (zext i32 Y), X`",
"body": "Reduced test case: https://alive2.llvm.org/ce/z/MLgA5x\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\"\r\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | b0eeacb20379f6d80079793b8461f56c240e6570 | null |
131488 | https://github.com/llvm/llvm-project/issues/131488 | crash | c71318a9bf168d30bf3ccd59eaa826e93b283d4b | 2025-03-16T03:37:21 | [
"llvm/test/Transforms/GlobalOpt"
] | {
"fix_commit": "cc052667b4b2f3bed12db68da876626e14f231f8",
"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 cc052667b4b2f3bed12db68da876626e14f231f8
Author: Justin Riddell <arghnews@hotmail.co.uk>
Date: Wed Sep 10 03:32:52 2025 +0100
[GlobalOpt] Fix unreachable ifunc globalopt crash (#157332) (#157593)
Also fixes (#131488)
Unreachable case is triggering `Callees.empty()` assert. Since this was... | [
{
"file": "llvm/test/Transforms/GlobalOpt/resolve-indirect-ifunc.ll",
"commands": [
"opt --passes=globalopt -o - -S < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine ptr @f1() {\n;\n unreachable\n}\n\n@i1 = ifunc void(), ptr @f1",
"additional_... | {
"title": "clang-21 crashed with ifunc attribute at O2 and above. Assertion `!Callees.empty() && \"Expecting successful collection of versions\"' failed.",
"body": "clang-21 crashed with `ifunc` attribute at `O2` and above.\n\nCompiler explorer: https://godbolt.org/z/hbh1odEE6\n\n```\n$cat mutant.c\nvoid a() __att... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 831527a5ef63d24d056afc92509caf5ceb1d3682 | null |
122691 | https://github.com/llvm/llvm-project/issues/122691 | crash | 26e13091ea5ac3a53d11b50265a506f88129d6ff | 2025-01-13T11:28:13 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "092d6283838dea79670750b9415955c5f0cb5178",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
8091,
8096
],
[
17818,
17824
]
],
"llvm/lib/Transforms/InstCombin... | commit 092d6283838dea79670750b9415955c5f0cb5178
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Jan 13 09:02:56 2025 -0800
[SLP]Check for div/rem instructions before extending with poisons
Need to check if the instructions can be safely extended with poison
before actually doing this to avoid... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/div-possibly-extended-with-poisons.ll",
"commands": [
"opt -S -O2 < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:6... | {
"title": "[SLPVectorizer] Assertion `isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"' failed.",
"body": "Reproducer: https://godbolt.org/z/68MKbnE4W\n```\n; bin/opt -O2 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 trip... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
117517 | https://github.com/llvm/llvm-project/issues/117517 | crash | 7e3187e12a2cef8b2552e08ce9423aca9c09d813 | 2024-11-25T05:18:47 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "57bbdbd7ae3698a274edd4dd6ef1b53d9129e552",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
1143,
1151
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 57bbdbd7ae3698a274edd4dd6ef1b53d9129e552
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Nov 25 07:56:45 2024 -0800
[SLP]Relax assertion in mask combine for non-power-of-2 number of elements
The nodes may contain non-power-of-2 number of elements. Need to relax
the assertion to avoid p... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/non-power-2-num-elems-reused.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-10 < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i64 @test() {\n;\ne... | {
"title": "[SLPVectorizer] Assertion \"SubMask with many inputs support must be larger than the mask.\" failed.",
"body": "Reproducer: https://godbolt.org/z/Mzbe1G875\r\n```\r\n; bin/opt -passes=slp-vectorizer test.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:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | b8703369daf777706196ff914c0376c27adde3cf | null |
137196 | https://github.com/llvm/llvm-project/issues/137196 | miscompilation | be7cf63b4a402ebc5b1dacc6579a693c92e1328e | 2025-04-24T15:32:53 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "1f69d6354a4b088bda5ee62c31411a75eead8b0c",
"components": [
"InstCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": [
[
1959,
1967
],
[
... | commit 1f69d6354a4b088bda5ee62c31411a75eead8b0c
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Mon Apr 28 17:01:43 2025 +0800
[InstCombine] Preserve the sign bit of NaN in `SimplifyDemandedUseFPClass` (#137287)
Alive2: https://alive2.llvm.org/ce/z/uiUzEf
Closes https://github.com/llvm/llvm... | [
{
"file": "llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll",
"commands": [
"opt -S -passes=instcombine < %s"
],
"tests": [
{
"test_name": "ret_nofpclass_nopositives_copysign",
"test_body": "; Function Attrs: nocallback nofree nosync nounwind speculatable wil... | {
"title": "copysign not preserving sign bit of a NaN",
"body": "we're optimizing this:\n```llvm\n; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)\ndeclare float @llvm.copysign.f32(float, float) #0\n\ndefine nofpclass(ninf nzero nsub nnorm) float @f(float %0) {\n %2 = call f... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 9dd2c59312bfae3526cee5e836a6b67b2e9b4989 | null |
121110 | https://github.com/llvm/llvm-project/issues/121110 | miscompilation | f68dbbbd57dd0947730300d1e827ad16c2dfffb5 | 2024-12-25T13:57:11 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "f2f02b21cd581057e3c9b4a7a27e0014eeb9ba15",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit f2f02b21cd581057e3c9b4a7a27e0014eeb9ba15
Author: Simon Pilgrim <llvm-dev@redking.me.uk>
Date: Sat Dec 28 09:21:22 2024 +0000
[VectorCombine] foldShuffleOfBinops - only accept exact matching cmp predicates
m_SpecificCmp allowed equivalent predicate+flags which don't necessarily work after being fo... | [
{
"file": "llvm/test/Transforms/VectorCombine/X86/shuffle-of-cmps.ll",
"commands": [
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2",
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse4.2",
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=avx2",... | {
"title": "[clang] Miscompilation at -Os",
"body": "This code prints 9 at `-Os` and 0 at `-O0/1/2/3`:\n\n```c\nint printf(const char *, ...);\nchar a = 9, c, d;\nint b, e;\nunsigned short f;\nchar *g = &a;\nvoid h(int i) {\n for (; b; b++)\n c &= 0 <= i;\n}\nstatic short j(unsigned long i) {\n int k;\n for (... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 8217c2eaef2f93427735a45c45c7fd91178e2ed8 | null |
113794 | https://github.com/llvm/llvm-project/issues/113794 | crash | 21895a84cf466f0a0632cfca0175f7e617a6dd5a | 2024-10-27T05:55:32 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "17bad1a9da228ade0c0b9b020ee99769b188d9b3",
"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 17bad1a9da228ade0c0b9b020ee99769b188d9b3
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Nov 1 20:51:25 2024 +0000
[LV] Bail out on header phis in shouldConsiderInvariant.
This fixes an infinite recursion in rare cases.
Fixes https://github.com/llvm/llvm-project/issues/113794.
diff --git... | [
{
"file": "llvm/test/Transforms/LoopVectorize/phi-cost.ll",
"commands": [
"opt < %s -passes='function(loop-vectorize,instcombine)' -force-vector-width=2 -force-vector-interleave=1 -debug-only=loop-vectorize -disable-output -print-after=instcombine 2>&1"
],
"tests": [
{
"test_name... | {
"title": "[clang] Segmentation fault in loop vectorization cost model during optimization pass",
"body": "When I compiled this code with -O2 flag, it crashed:\r\n\r\n```c\r\n#include <stdint.h>\r\n#define UNDEFINED(x) ((x), 0)\r\nlong b;\r\nstatic int64_t j = 1;\r\nstatic int64_t *k = &j;\r\nstatic int64_t **l = ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 9de327c94d0c995803b6485fb28ac4cad1e53bbe | null |
126085 | https://github.com/llvm/llvm-project/issues/126085 | crash | 6575154b6eca80097d77db69ce1ee60c72854ee6 | 2025-02-06T15:41:55 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "eb2b453eb73dfe0b8cf516dfb4d568c0b858d1fa",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit eb2b453eb73dfe0b8cf516dfb4d568c0b858d1fa
Author: Simon Pilgrim <llvm-dev@redking.me.uk>
Date: Thu Feb 6 16:40:48 2025 +0000
[VectorCombine] foldInsExtVectorToShuffle - ensure we call getShuffleCost with the input operand type, not the result
Typo in #121216
Fixes #126085
diff --git a/ll... | [
{
"file": "llvm/test/Transforms/VectorCombine/X86/pr126085.ll",
"commands": [
"opt < %s -passes=vector-combine -S -mtriple=x86_64--"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i32 @test(ptr %a0) {\n;\n %load = load <16 x i8>, ptr %a0, align 1\n %shu... | {
"title": "[VectorCombine] Assertion `I >= 0 && I < (NumOpElts * 2) && \"Out-of-bounds shuffle mask element\"' failed.",
"body": "Reproducer:\n```\n; bin/opt -passes=vector-combine 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 ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 8c1dbac304d2f3d9e9685c1f4fd8b3e133360893 | null |
113462 | https://github.com/llvm/llvm-project/issues/113462 | crash | 3605d9a456185f4af78c01a2684b822b57bca9b0 | 2024-10-23T14:33:27 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "b65b2b4ab60763515694c740935989f908a03312",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
9840,
9852
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit b65b2b4ab60763515694c740935989f908a03312
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Wed Oct 23 12:03:38 2024 -0700
[SLP]Expand vector to the whole register size in extracts adjustment
Need to expand the number of elements to the whole register to correctly
process estimation and avoid... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/partial-register-extract.ll",
"commands": [
"opt -S --passes=slp-vectorizer < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "target datalayout = \"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:1... | {
"title": "[SLPVectorizer] Assertion `(Idx + EltsPerVector) <= alignTo(NumElts, EltsPerVector) && \"SK_ExtractSubvector index out of range\"' failed.",
"body": "Reproducer: https://godbolt.org/z/fxYWYnWKs\r\n```\r\n; bin/opt -passes=slp-vectorizer reduced.ll -S\r\ntarget datalayout = \"e-m:e-p270:32:32-p271:32:32-... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 4b1b51ac52445f2308174287c721ad7f60a8053b | null |
120823 | https://github.com/llvm/llvm-project/issues/120823 | miscompilation | 9d0a5d4620a2aa5dc01b150e5ebe7613238cae1c | 2024-12-21T05:25:23 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "030829a7e53fad0eab9b87b5dd49427e9fb13303",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
15483,
15488
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 030829a7e53fad0eab9b87b5dd49427e9fb13303
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Dec 23 16:53:37 2024 -0800
[SLP]Drop samesign flag if the vector node has reduced bitwidth
If the operands of the icmp instructions has reduced bitwidth after
MinBitwidth analysis, need to drop sam... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/buildvector-schedule-for-subvector.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-99999 < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define i1 @test() {\nen... | {
"title": "[SLPVectorizer] `samesign` flags should be dropped after narrowing down the width of operands",
"body": "Reproducer: https://alive2.llvm.org/ce/z/AvBhy9\n```\n; bin/opt -passes=slp-vectorizer test.ll -S\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndefine i1 @test() {\nentry:\n %and.i1698.1.i = zext... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
153289 | https://github.com/llvm/llvm-project/issues/153289 | crash | 0f6d3ad0feb42fbe36e1878fe9ffff67195c50d2 | 2025-08-12T20:46:33 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "dd5ba694bde6c92259c518b9eb2888163a812433",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
5689,
5695
],
[
20727,
20741
],
[
20748,
20755
... | commit dd5ba694bde6c92259c518b9eb2888163a812433
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Wed Aug 13 05:57:07 2025 -0700
[SLP]Recalculate deps for potential control-dependent schedule data
After clearing the dependencies in copyable data, need to recalculate
dependencies for the original Sc... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/control-dependent-schedule.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i32 @test(i32 %0, i32 %1) {\n;\nentry:\n... | {
"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/xWvWKe3fj\n\nNote:\n- fails: trunk\n- works: 20.1.0 and earlier (so a recent regression)\n\n```\n[569] %... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 2d7b55a028139dde58a994a65895841190dfde96 | null |
148052 | https://github.com/llvm/llvm-project/issues/148052 | crash | 65787728b72a2b1f1bfdefd15d32ec0a69f2b941 | 2025-07-10T20:24:08 | [
"llvm/test/Transforms/SimplifyCFG"
] | {
"fix_commit": "43561ad204329667954d5ce1e632e09335f0ab12",
"components": [
"BasicBlockUtils"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine... | commit 43561ad204329667954d5ce1e632e09335f0ab12
Author: Gábor Spaits <gaborspaits1@gmail.com>
Date: Thu Sep 11 22:52:16 2025 +0200
[BasicBlockUtils] Handle funclets when detaching EH pad blocks (#157363)
Fixes #148052 .
When removing EH Pad blocks, the value defined by them becomes poison. Thes... | [
{
"file": "llvm/test/Transforms/SimplifyCFG/unreachable-multi-basic-block-funclet.ll",
"commands": [
"opt -passes=simplifycfg -S < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n; cleanuppad/cleanupret\n\ndefine void @unreachable_cleanuppad_linear(i64 %shape... | {
"title": "Bug in SimplifyCFG causes ICE",
"body": "This minimal Rust code causes a failure when the `simplifycfg` pass is enabled:\n\n```rust\npub fn repro_func(shapes: &mut [ShapeInfo<ReproShape>]) {\n repro_generic::<ReproShape>(shapes);\n}\n\n#[derive(Clone)]\npub struct ShapeInfo<S> {\n pub shape: S,\n}... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
77064 | https://github.com/llvm/llvm-project/issues/77064 | crash | 255f95a40377677dd762df5a1aa65bcbb4f75c79 | 2024-01-05T09:28:42 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "a001e9718fd974859f2797a9f9ed7bf87d364e4f",
"components": [
"SimplifyLibCalls"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombin... | commit a001e9718fd974859f2797a9f9ed7bf87d364e4f
Author: Nikita Popov <npopov@redhat.com>
Date: Fri Jan 5 10:41:44 2024 +0100
[SimplifyLibCalls] Don't try to manually reprocess calls
The current code for reprocessing the result of fortified libcall
simplifications is not correct, because we might sim... | [
{
"file": "llvm/test/Transforms/InstCombine/pr77064.ll",
"commands": [
"opt -S -passes=instcombine < %s"
],
"tests": [
{
"test_name": "main",
"test_body": "define void @main(ptr %ptr) {\n %opendir = call fastcc ptr @opendir(ptr %ptr)\n %memset = call ptr @__memset_chk(p... | {
"title": "[SimplifyLibCalls] Calling convention assertion fails",
"body": "```llvm\r\n; RUN: opt -S -passes=instcombine\r\ndefine void @main(ptr %ptr) {\r\n %opendir = call fastcc ptr @opendir(ptr %ptr)\r\n %memset = call ptr @__memset_chk(ptr %opendir, i32 0, i64 596, i64 -1)\r\n ret void\r\n}\r\n\r\ndeclare ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
160792 | https://github.com/llvm/llvm-project/issues/160792 | crash | ca55c07337d59aa65a19284f7b1307d16b2b0a44 | 2025-09-25T23:12:56 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "ae7b15f2e29cea642ca847a4f0ae91d2d793f6ad",
"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 ae7b15f2e29cea642ca847a4f0ae91d2d793f6ad
Author: Florian Hahn <flo@fhahn.com>
Date: Sat Oct 11 19:01:27 2025 +0100
[VPlan] Return invalid for scalable VF in VPReplicateRecipe::computeCost
Replication is currently not supported for scalable VFs. Make sure
VPReplicateRecipe::computeCost returns... | [
{
"file": "llvm/test/Transforms/LoopVectorize/AArch64/invalid-costs.ll",
"commands": [
"opt -passes=\"loop-vectorize\" -pass-remarks-output=/dev/null -S %s"
],
"tests": [
{
"test_name": "replicate_sdiv_conditional",
"test_body": "target triple = \"arm64-apple-macosx\"\n\n... | {
"title": "Assertion \"Request for a fixed element count on a scalable object\" failed, vectorizer crashing with -Rpass=loop-vectorize",
"body": "Ran into a crash recently with the vectorizer while trying to build something. Note that this crash only happens if -Rpass=loop-vectorize is enabled.\n\nReproducer: http... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | de7e3a589525179f3b02b84b194aac6cf581425c | null |
160396 | https://github.com/llvm/llvm-project/issues/160396 | crash | 2f5d5a3f748391f85cfa33702a247d42549f7b9d | 2025-09-23T21:07:51 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "70a26da63992142ba2221f1034048ea883cdcb3d",
"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 70a26da63992142ba2221f1034048ea883cdcb3d
Author: Florian Hahn <flo@fhahn.com>
Date: Thu Sep 25 09:00:45 2025 +0100
[VPlan] Set correct flags when creating and cloning VPWidenCastRecipe.
Make sure that we set the correct wrap flags when creating new
VPWidenCastRecipes for truncs and preserve t... | [
{
"file": "llvm/test/Transforms/LoopVectorize/cse-casts.ll",
"commands": [
"opt -p loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i8 @preserve_flags_when_cloning_trunc(i8 %start, ptr n... | {
"title": "[LoopVectorize] Assertion `OpType == Other.OpType && \"OpType must match\"' failed.",
"body": "Testcase:\n```llvm ir\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\ntarget triple = \"riscv64-unknown-linux-gnu\"\n\ndefine i8 @c() #0 {\nentry:\n br label %for.cond1.preheader.us\n\nfor... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | c3e76b27709f93c9e945caa29dae596b581289e2 | null |
114860 | https://github.com/llvm/llvm-project/issues/114860 | crash | 7dffc96a54f90569d6226dd5713c80fc8f30c76f | 2024-11-04T20:12:18 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "144bdf3eb7128518ed162c5a168e3ec90922cd9e",
"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 144bdf3eb7128518ed162c5a168e3ec90922cd9e
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Nov 8 20:53:03 2024 +0000
[VPlan] Also check if plan for best legacy VF contains simplifications.
The plan for the VF chosen by the legacy cost model could also contain
additional simplifications that caus... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/select-invariant-cond-cost.ll",
"commands": [
"opt -p loop-vectorize -S %s"
],
"tests": [
{
"test_name": "test_invariant_cond_for_select",
"test_body": "target datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\n... | {
"title": "[VPlan] Assertion \" VPlan cost model and legacy cost model disagreed\"' failed.",
"body": "Testcase:\r\n```c\r\nextern char a[];\r\nchar *b;\r\nint c = 40502824327348188;\r\nlong d[9][9];\r\nint main() {\r\n for (long e = 0; e < 9; ++e)\r\n for (long f = 0; f < 9; ++f)\r\n d[e][f] = 6032102684... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 1d9b3222f3de7bad4ef27b7e4d7798f840097380 | null |
89669 | https://github.com/llvm/llvm-project/issues/89669 | miscompilation | d97cdd7d088b11b45038112a5f7fe5cbf60a6461 | 2024-04-22T21:27:36 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "a1b1c4a6d1d52916c5d885170a5f54632d579cdc",
"components": [
"InstCombine",
"ValueTracking"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vector... | commit a1b1c4a6d1d52916c5d885170a5f54632d579cdc
Author: Nikita Popov <npopov@redhat.com>
Date: Wed Apr 24 10:56:26 2024 +0900
[InstCombine] Fix miscompile in negation of select (#89698)
Swapping the operands of a select is not valid if one hand is more
poisonous that the other, because the negation ... | [
{
"file": "llvm/test/Transforms/InstCombine/sub-of-negatible.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "negate_select_of_negation_poison",
"test_body": "define <2 x i32> @negate_select_of_negation_poison(<2 x i1> %c, <2 x i32> %x) {... | {
"title": "miscompile of vector double-negation + select by InstCombine",
"body": "https://alive2.llvm.org/ce/z/N1RVAr\r\n\r\nthis:\r\n```llvm\r\ndefine <4 x i32> @f(<4 x i32> %0) {\r\n %2 = sub <4 x i32> zeroinitializer, %0\r\n %3 = select <4 x i1> <i1 false, i1 true, i1 poison, i1 poison>, <4 x i32> %2, <4 x i... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | Cannot find a good commit | null |
157314 | https://github.com/llvm/llvm-project/issues/157314 | crash | 9fe1f29541109ac10e1399deb85da0507135f836 | 2025-09-06T20:54:43 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "b4dbb1cdc46bfe41244f4313582ce3270f5fe845",
"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 b4dbb1cdc46bfe41244f4313582ce3270f5fe845
Author: Florian Hahn <flo@fhahn.com>
Date: Mon Oct 20 11:53:47 2025 +0100
[VPlan] Be more careful with CSE in replicate regions. (#162110)
Recipes in replicate regions implicitly depend on the region's
predicate. Limit CSE to recipes in the same block,... | [
{
"file": "llvm/test/Transforms/LoopVectorize/cse-replicate-regions.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": "\ndefine void @multiple_vppredinstp... | {
"title": "[LoopVectorize] Assertion `isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"' failed.",
"body": "Reproducer: https://godbolt.org/z/Wqj66T1xq\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-S12... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | d8fd51148069bdea95974b3877abc31bcf5bf5ab | null |
165252 | https://github.com/llvm/llvm-project/issues/165252 | crash | c03d0fe672b2506d22d101cb7704996f4ffda3e4 | 2025-10-27T13:57:20 | [
"llvm/test/Transforms/UnifyLoopExits"
] | {
"fix_commit": "2c7cf896be28febcd2f9af1b0dfdb5dfc6b97583",
"components": [
"ControlFlowUtils",
"UnifyLoopExits"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/... | commit 2c7cf896be28febcd2f9af1b0dfdb5dfc6b97583
Author: Miguel Saldivar <saldivarcher@gmail.com>
Date: Sun Jan 25 16:31:28 2026 -0800
[llvm][UnifyLoopExits] Avoid optimization if no exit block is found (#165343)
If there is not an exit block, we should not try unify the loops.
Instead we should just... | [
{
"file": "llvm/test/Transforms/UnifyLoopExits/no-exit-blocks.ll",
"commands": [
"opt -passes=unify-loop-exits %s -S 2>&1"
],
"tests": [
{
"test_name": "<module>",
"test_body": "; Based from this issue: https://github.com/llvm/llvm-project/issues/165252\n\ndefine void @te... | {
"title": "unify-loop-exits pass: Assertion `!empty() && \"Cannot call front() on empty SetVector!\"' failed.",
"body": "Reproducer:\nhttps://godbolt.org/z/GET14Pbb8\n\nBacktrace:\n```console\nopt: /root/llvm-project/llvm/include/llvm/ADT/SetVector.h:132: const value_type& llvm::SetVector<T, Vector, Set, N>::front... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | null | null |
137797 | https://github.com/llvm/llvm-project/issues/137797 | crash | 368fbc21631a16b66a2a5609271c467a025a08b9 | 2025-04-29T12:24:21 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "3aecbbcbf675bc4472dafff18d29f21457323f28",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
15245,
15250
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 3aecbbcbf675bc4472dafff18d29f21457323f28
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Tue May 6 06:40:54 2025 -0700
[SLP]Do not match nodes if schedulability of parent nodes is different
If one user node is non-schedulable and another one is schedulable, such
nodes should be considered ... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/matched-bv-schedulable.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 @test() {\n;\nbb:... | {
"title": "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; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"e-m:e-p270:32... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 123993fd974629ca0a094918db4c21ad1c2624d0 | null |
79742 | https://github.com/llvm/llvm-project/issues/79742 | crash | a9689c6029e3078e09e43a4efb2b2ced98e9020f | 2024-01-28T09:40:40 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "17fb3e82f6c950267bb01cc2fd2a84b0d9e9d0d8",
"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 17fb3e82f6c950267bb01cc2fd2a84b0d9e9d0d8
Author: Florian Hahn <flo@fhahn.com>
Date: Tue Apr 23 11:50:25 2024 +0100
[VPlan] Skip extending ICmp results in trunateToMinimalBitwidth.
Results of icmp don't need extending after truncating their operands, as
the result will always be i1. Skip them ... | [
{
"file": "llvm/test/Transforms/LoopVectorize/trunc-extended-icmps.ll",
"commands": [
"opt -p loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -S %s"
],
"tests": [
{
"test_name": "test_icmp_and_op_zext",
"test_body": "target datalayout = \"e-m:e-p:64:64-i64... | {
"title": "llvm crash on loop-vectorize: Assertion `OldResSizeInBits > NewResSizeInBits && \"Nothing to shrink?\"' failed.",
"body": "llvm crashes on the following IR.\r\n\r\nBisected to 822c749aec69ace75bd3923a4c850e2fd2e34fb1, which was committed by @fhahn \r\n\r\nCompiler explorer: https://godbolt.org/z/rWj9dhv... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
141017 | https://github.com/llvm/llvm-project/issues/141017 | miscompilation | b3fd2ea88875e58c66dd67870ff822cedf2570cf | 2025-05-22T07:55:25 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "1984c7539ebeb2697233f8163a051a2ce0d4fa50",
"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 1984c7539ebeb2697233f8163a051a2ce0d4fa50
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Mon Jun 2 18:21:14 2025 +0800
[ValueTracking] Do not use FMF from fcmp (#142266)
This patch introduces an FMF parameter for
`matchDecomposedSelectPattern` to pass FMF flags from select, instead of
... | [
{
"file": "llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll",
"commands": [
"opt -S -passes=instcombine < %s"
],
"tests": [
{
"test_name": "pr141017_select_nsz",
"test_body": "define float @pr141017_select_nsz(float %x) {\n %cmp = fcmp olt float %x, 0.000000e+00... | {
"title": "[InstCombine] Miscompilation `select (fcmp nsz olt X, 0.0), -0.0, X -> select (fcmp nsz ole X, -0.0), -0.0, X`",
"body": "Reproducer: https://alive2.llvm.org/ce/z/Uydp8F\n```\ndefine float @src(float %x) {\n %cmp = fcmp nsz olt float %x, 0.0\n %sel = select i1 %cmp, float -0.0, float %x\n ret float %... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
160671 | https://github.com/llvm/llvm-project/issues/160671 | crash | d77d3a78472410128f6d0b9f71bd36fb26b72feb | 2025-09-25T09:27:43 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "57947ace14ebfadba46a99aa80589e021c757037",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
17519,
17525
],
[
19119,
19125
]
],
"llvm/lib/Transforms/InstComb... | commit 57947ace14ebfadba46a99aa80589e021c757037
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Thu Sep 25 13:38:27 2025 -0700
[SLP]Correctly set the insert point for insertlements with copyable arguments
Need to find the last insertelement instruction in the list for the
copyable arguments, othe... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/insertelement-with-copyable-args.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-99999 < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine i64 @test(i3... | {
"title": "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; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"e-m:e-p270... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 898bba311f180ed54de33dc09e7071c279a4942a | null |
126304 | https://github.com/llvm/llvm-project/issues/126304 | crash | fcbf04e40e66014f455a38b59993be865bc6cdfd | 2025-02-07T20:48:01 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "10844fb9b0b78695243391e091e17ec29295872a",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
5596,
5601
],
[
5626,
5632
]
],
"llvm/lib/Transforms/InstCombine/... | commit 10844fb9b0b78695243391e091e17ec29295872a
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Tue Feb 11 13:23:55 2025 -0800
[SLP]Fix attempt to build the reorder mask for non-adjusted reuse mask
When building the reorder for non-single use reuse mask, need to check
if the size of the mask is m... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/SystemZ/reuse-non-power-of-2-reorder.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=systemz -mcpu=z15 < %s -slp-threshold=-100"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test(i32 %0, i6... | {
"title": "[SLP] llvm::BitVector::set(unsigned int): Assertion `Idx < Size && \"access in bound\"' failed.",
"body": "[crash41.tar.gz](https://github.com/user-attachments/files/18712696/crash41.tar.gz)\n\nclang -O3 -march=z15 crash41.i -o a.out -w -mllvm -inline-threshold=450\n\nllvm/include/llvm/ADT/BitVector.h:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 5deb4ef9ab1144542d748f71235b029bed06dd26 | null |
91369 | https://github.com/llvm/llvm-project/issues/91369 | miscompilation | 9a28814f59e8f52cc63ae3d17023cee8348d9b53 | 2024-05-07T18:12:26 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "082c81ae4ab9db6bb0acd52098288223dd58501a",
"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 082c81ae4ab9db6bb0acd52098288223dd58501a
Author: Florian Hahn <flo@fhahn.com>
Date: Tue May 7 21:31:40 2024 +0100
[LV] Properly extend versioned constant strides.
We only version unknown strides to 1. If the original type is i1, then
the sign of the extension matters. Properly extend the stri... | [
{
"file": "llvm/test/Transforms/LoopVectorize/version-stride-with-integer-casts.ll",
"commands": [
"opt -passes=loop-vectorize -force-vector-width=4 -S %s"
],
"tests": [
{
"test_name": "zext_of_i1_stride",
"test_body": "target datalayout = \"p:8:8:8\"\n\n; Function Attrs:... | {
"title": "[LoopVectorize] Sign-extension miscompile",
"body": "C Testcase:\r\n```c\r\nlong a, d;\r\nshort b[20];\r\nshort c[20];\r\n_Bool e[20];\r\nint f(_Bool g) {\r\n for (long h = 0; h < 16; h += g)\r\n b[h] = (short) g;\r\n for (int i = 0; i < 12; i++)\r\n for (int j = d; j; j++)\r\n c[i] = (shor... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 9ee8e38cdcc6925a4127d44a0360dc8de23dfb5f | null |
161524 | https://github.com/llvm/llvm-project/issues/161524 | miscompilation | 42ab473f518c5f180455c674cbaba70a0b2634b7 | 2025-10-01T14:10:51 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "57a9f79336abebbdfffd52270bb615f7189758d2",
"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 57a9f79336abebbdfffd52270bb615f7189758d2
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Thu Oct 2 01:11:51 2025 +0800
[ValueTracking] Take PHI's poison-generating flags into account (#161530)
ninf/nnan in the phi node may produce poison values. They should be
considered in `isGuaranteedN... | [
{
"file": "llvm/test/Transforms/InstCombine/freeze-phi.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "pr161524",
"test_body": "define float @pr161524(float noundef %arg) {\nentry:\n %cond = tail call i1 @llvm.is.fpclass.f32(float %arg,... | {
"title": "[InstCombine] Freeze is incorrectly dropped",
"body": "Reproducer: https://alive2.llvm.org/ce/z/xyfr4N\n```\n; bin/opt -passes=instcombine test.ll -S\ndefine float @test(float %arg) {\nentry:\n %cond = tail call i1 @llvm.is.fpclass.f32(float %arg, i32 144)\n %0 = freeze i1 %cond\n br i1 %0, label %if... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
156849 | https://github.com/llvm/llvm-project/issues/156849 | miscompilation | 85dbe18beef4537dcdfaf9a009b1dd3dbdab608b | 2025-09-04T10:35:34 | [
"llvm/test/Transforms/LoopDistribute",
"llvm/test/Transforms/LoopVectorize",
"llvm/test/Transforms/LoopVersioning"
] | {
"fix_commit": "f8972c8280d28660aaff888c093a9e01b9ee71e6",
"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 f8972c8280d28660aaff888c093a9e01b9ee71e6
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Sep 5 16:13:11 2025 +0100
[SCEVExp] Fix early exit in ComputeEndCheck. (#156910)
ComputeEndCheck incorrectly returned false for unsigned predicates
starting at zero and a positive step.
The AddRec... | [
{
"file": "llvm/test/Transforms/LoopVectorize/interleaved-accesses-requiring-scev-predicates.ll",
"commands": [
"opt -S -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=true %s"
],
"tests": [
{
"test_name": "wrap_predicate_f... | {
"title": "[LoopVectorize] Miscompile with masked IV",
"body": "```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_64-unknown-linux-gnu\"\n\n; out[i] = x[(i * 5) & 16]\ndefine void @test(ptr noalias %x, ptr noalias %out) {\nstart:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
175229 | https://github.com/llvm/llvm-project/issues/175229 | crash | 12cccb96de36bdef7bbdd7b77543a9063f7c0ecc | 2026-01-09T19:45:23 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "d620ea7657814943748e2368004fad2be44c7272",
"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 d620ea7657814943748e2368004fad2be44c7272
Author: Florian Hahn <flo@fhahn.com>
Date: Sun Jan 11 11:19:30 2026 +0000
[LV] Handle live-ins in findRecipe.
Skip live-ins in findRecipe to prevent a crash for cases with degenerate
reductions (where the backedge value is a live-in). Such reductions
... | [
{
"file": "llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll",
"commands": [
"opt -passes=loop-vectorize -force-vector-width=4 -enable-epilogue-vectorization -epilogue-vectorization-force-VF=4 -S %s"
],
"tests": [
{
"test_name": "reduction_with_const_or",
... | {
"title": "[LoopVectorizePass] Assertion `detail::isPresent(Val) && \"dyn_cast on a non-existent value\"' failed.",
"body": "Very recent regression. Not bisected yet.\n\nhttps://godbolt.org/z/eMaroco7z\n\n```\ntarget triple = \"x86_64-unknown-unknown\"\n\ndefine i1 @_Z1nv(i8 %0) {\nentry:\n br label %for.body4\n\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
180361 | https://github.com/llvm/llvm-project/issues/180361 | crash | 39622a7739b85aa8cd1d5169028b6c8fd1e0bcaa | 2026-02-07T18:16:54 | [
"llvm/test/Transforms/DeadStoreElimination"
] | {
"fix_commit": "ec059d81aafedb253a02d6f490ad9b9747611038",
"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 ec059d81aafedb253a02d6f490ad9b9747611038
Author: Aiden Grossman <aidengrossman@google.com>
Date: Sat Feb 7 11:43:56 2026 -0800
[DSE] Handle variable offsets with sized dead_on_return (#180364)
With a sized dead_on_return, we need to not eliminate stores if there
are to a pointer with a variab... | [
{
"file": "llvm/test/Transforms/DeadStoreElimination/simple.ll",
"commands": [
"opt -passes=dse -S < %s"
],
"tests": [
{
"test_name": "test_dead_on_return_variable_offset",
"test_body": "\ndefine void @test_dead_on_return_variable_offset(ptr dead_on_return(4) %p, i64 %off... | {
"title": "[DSE] Assertion failure with clang using sized dead_on_return",
"body": "We hit an assertion failure in DSE from the following minimized test case:\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_64-unknown-linux-gn... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
87856 | https://github.com/llvm/llvm-project/issues/87856 | crash | b17d44558ba4c30a3005089b334f68593d6a9c7c | 2024-04-06T02:19:05 | [
"llvm/test/Transforms/Attributor"
] | {
"fix_commit": "2d61692d4b75b7d92b44bfafb1011c1723955151",
"components": [
"Attributor"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.cpp"... | commit 2d61692d4b75b7d92b44bfafb1011c1723955151
Author: Matt Arsenault <Matthew.Arsenault@amd.com>
Date: Thu May 23 19:31:33 2024 +0200
Attributor: Do not assume function context in AANoCapture (#91462)
If the calling function has the null_pointer_is_valid attribute, somehow
a null constant reaches ... | [
{
"file": "llvm/test/Transforms/Attributor/issue87856.ll",
"commands": [
"opt -S -passes=attributor < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @null_ptr_is_valid_call_with_null() #0 {\n;\n call void @store_as0(ptr null)\n ret void\n}\n\nd... | {
"title": "[attributor] Crash on `null_pointer_is_valid` function",
"body": "With\r\n\r\n```\r\ntarget datalayout = \"e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128\"\r\ntarget triple = \"aarch64-none-linux-android28\"\r\n\r\n; Function Attrs: null_pointer_is_valid\r\ndefine i64 @foo() #0 {\r\n call fastcc v... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | ebec3dd1bf516ada75f685e65cd344838f8ee4c5 | null |
91078 | https://github.com/llvm/llvm-project/issues/91078 | crash | d5ca2e46ca97758de6edb9f071f2114205380d87 | 2024-05-04T18:39:13 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "d145f40963f15e94c4aefcc406a365fbe779e934",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit d145f40963f15e94c4aefcc406a365fbe779e934
Author: David Green <david.green@arm.com>
Date: Sun May 5 10:47:11 2024 +0100
[VectorCombine] shuffleToIdentity - guard against call instructions.
The shuffleToIdentity fold needs to be a bit more careful about the difference
between call instructions ... | [
{
"file": "llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll",
"commands": [
"opt -passes=vector-combine -S %s"
],
"tests": [
{
"test_name": "callinst",
"test_body": "target triple = \"aarch64\"\n\ndefine <8 x half> @callinst(<8 x half> %a) {\n %ab = shuffl... | {
"title": "A/F: isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\" after commit a4d1026",
"body": "A few of our internal tests started hitting an assertion failure which I bisected back to commit a4d10266d20bfe5930dfed77e17832af341ed66e. \r\n\r\nConsider the following code:\r\n```c++\r\ntemplate <typena... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | a4d10266d20bfe5930dfed77e17832af341ed66e | null |
118850 | https://github.com/llvm/llvm-project/issues/118850 | crash | 9ad22cf0ee9eb686ea9fd76fd9cc41f4c006ccbc | 2024-12-05T18:11:28 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "4f7f71b7bccdc38f37b82981e8fa9ceb536a7016",
"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 4f7f71b7bccdc38f37b82981e8fa9ceb536a7016
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Dec 6 16:28:47 2024 +0000
[VPlan] Compare APInt instead of getSExtValue to fix crash in unroll.
getSExtValue assumes the result fits in 64 bits, but this may not be the
case for indcutions with wider types... | [
{
"file": "llvm/test/Transforms/LoopVectorize/interleave-with-i65-induction.ll",
"commands": [
"opt -p loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s"
],
"tests": [
{
"test_name": "i65_induction_with_negative_step",
"test_body": "define void @i65_in... | {
"title": "Assertion `getActiveBits() <= 64 && \"Too many bits for uint64_t\"' failed.",
"body": "To reproduce run the test below with -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-i8:8:32-i16:16:32-i64:64-... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 8ec406757cb92f352888a3d4092397f2b5a7d1d9 | null |
137582 | https://github.com/llvm/llvm-project/issues/137582 | miscompilation | 4075a3698a3fdda3a77ce2456e3bfefbc0f0c56e | 2025-04-28T05:48:58 | [
"llvm/test/Transforms/CorrelatedValuePropagation"
] | {
"fix_commit": "830cf36bd4c491ef28d9bba74737e324639bb4cd",
"components": [
"IR",
"LazyValueInfo",
"ValueTracking"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Trans... | commit 830cf36bd4c491ef28d9bba74737e324639bb4cd
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Wed Apr 30 11:53:38 2025 +0800
[LVI][ValueTracking] Take UB-implying attributes into account in `isSafeToSpeculativelyExecute` (#137604)
Closes https://github.com/llvm/llvm-project/issues/137582.
... | [
{
"file": "llvm/test/Transforms/CorrelatedValuePropagation/pr137582.ll",
"commands": [
"opt < %s -passes=correlated-propagation -S"
],
"tests": [
{
"test_name": "test",
"test_body": "define i8 @test(i16 %x) {\nentry:\n %or = or i16 %x, 1\n %conv = trunc i16 %or to i8\n ... | {
"title": "[CVP] Miscompilation at -O3",
"body": "Reproducer: https://alive2.llvm.org/ce/z/x4KrLX\n```\n\n----------------------------------------\ndefine i8 @func_124(i16 %.promoted) {\nentry:\n %inc20.i = or i16 %.promoted, 1\n %conv.i.i = trunc i16 %inc20.i to i8\n %narrow.i.i.i = smin i8 %conv.i.i, 0\n ass... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | b9666cf2034e103ef28280fae61f43fae7e28192 | null |
135800 | https://github.com/llvm/llvm-project/issues/135800 | crash | a1d52fcdca8bda4fe8c6652b2de83f408f4ad4f2 | 2025-04-15T15:58:08 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "2271f0bebd48c9ed8b16b500886a819c4f269a6a",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
9575,
9580
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 2271f0bebd48c9ed8b16b500886a819c4f269a6a
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Tue Apr 15 13:02:32 2025 -0700
[SLP]Check for perfect/shuffled match for the split node
If the potential split node is a perfect/shuffled match of another split
node, need to skip creation of the anoth... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/split-node-full-match.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test(double %0) {\n;\n.thread:\n %1 = ... | {
"title": "[slp] ICE: Instruction does not dominate all uses!",
"body": "First showed up in 04c38981a9ce3e6225669c0e41cab947e3e7989f, last known good commit was 0283bb3afcc5dc521f6b2e7d541a830a9546ed80.\n\nCommits in this range with SLP in the subject line:\n```\n$ g log 0283bb3afcc5dc521f6b2e7d541a830a9546ed80^1.... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | aaaa2a325bd1abb8c87e0171384fd2c42da5e38a | null |
162530 | https://github.com/llvm/llvm-project/issues/162530 | crash | c940bfd7e6218c01c6a517e8d6afc8067e933ffd | 2025-10-08T18:41:41 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "3ad5765e2341b53bff480b7992b1ed428dc603d6",
"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 3ad5765e2341b53bff480b7992b1ed428dc603d6
Author: Florian Hahn <flo@fhahn.com>
Date: Thu Nov 6 21:45:57 2025 +0000
[LV] Check all users of partial reductions in chain have same scale. (#162822)
Check that all partial reductions in a chain are only used by other
partial reductions with the same... | [
{
"file": "llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-incomplete-chains.ll",
"commands": [
"opt --mattr=+neon,+dotprod -passes=loop-vectorize -force-vector-interleave=1 -enable-epilogue-vectorization=false -S %s"
],
"tests": [
{
"test_name": "test_incomplete_chain_... | {
"title": "[LV] operands with different vscale types",
"body": "Compiling this reproducer:\n\n```\nshort a;\nextern short b[];\nvoid c(bool d[][1][1]) {\n#pragma clang loop vectorize_predicate(enable)\n for (short e = 0; e < 858; e += 3) {\n b[e] = d[0644][e][1];\n for (char f = 0; f < 21; f++)\n a += ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | null | null |
131360 | https://github.com/llvm/llvm-project/issues/131360 | crash | dccc0a836c20914549fa375905615db49d2f813b | 2025-03-14T17:22:16 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "fbf0276b6a7a7a4508c373cf87fc349569652659",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
6665,
6670
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit fbf0276b6a7a7a4508c373cf87fc349569652659
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Fri Mar 14 14:07:01 2025 -0700
[SLP] Reorder reuses mask, if it is not empty, for subvector operands
If the subvector operands has reuses mask, need to reorder the mask, not
the scalars, to prevent com... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/reorder-reused-subvector.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -slp-threshold=-100 < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test(i32 %j.6, i... | {
"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/31z58Pqnf\n\n```\n[507] % clangtk -v\nclang version 21.0.0git (https://github.com/llvm/llvm-pr... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 9d37e61fc77d3d6de891c30630f1c0227522031d | null |
108620 | https://github.com/llvm/llvm-project/issues/108620 | crash | 03618ceabd003be94190b068db11b607fd1108ef | 2024-09-13T18:15:02 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "1e3536ef3141d6429f3616af624b81b6d6ab2959",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
1283,
1293
],
[
14222,
14235
],
[
14373,
14378
... | commit 1e3536ef3141d6429f3616af624b81b6d6ab2959
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Fri Sep 13 15:40:22 2024 -0700
[SLP]Fix PR108620: Need to check, if the reduced value was transformed
Before trying to include the scalar into the list of
ExternallyUsedValues, need to check, if it was... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/reduced-val-extracted-and-externally-used.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test(i32 %arg) {\nbb:\n ... | {
"title": "Assertion `(I->use_empty() || all_of(I->uses(), [&](Use &U) { return isDeleted( cast<Instruction>(U.getUser())); })) && \"trying to erase instruction with users.\"' failed.",
"body": "To reproduce run the following test with -passes=slp-vectorizer\r\n```\r\n; ModuleID = './reduced.ll'\r\nsource_filename... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | b10ecfa914dd1bc2013584917d0505ba5f15f75c | null |
177124 | https://github.com/llvm/llvm-project/issues/177124 | crash | 795d940254aa357cb5095ad776c04e72ced08b9d | 2026-01-21T09:20:08 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "d64d3735ab06cd1304fb383543312c355c45eeb8",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
19965,
19972
],
[
19976,
19988
]
],
"llvm/lib/Transforms/InstComb... | commit d64d3735ab06cd1304fb383543312c355c45eeb8
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Wed Jan 21 09:10:46 2026 -0800
[SLP]Correctly handle vector nodes, coming from same incoming blocks in PHI nodes
If multiple nodes are generated from same PHI node for the same block,
still need to vec... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/phi-multi-same-nodes.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() {\n;\nbb:\n ... | {
"title": "Assertion `!contains(New, this) && \"this->replaceAllUsesWith(expr(this)) is NOT valid!\"' failed.",
"body": "To reproduce run opt with the test below, -passes=slp-vectorizer -slp-threshold=-99999\n\n[reduced-stripped.ll.zip](https://github.com/user-attachments/files/24762079/reduced-stripped.ll.zip)\n\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
111934 | https://github.com/llvm/llvm-project/issues/111934 | miscompilation | f74f568b29885c3fa63c44e33f91f3bb7281138e | 2024-10-11T03:29:55 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "6a65e98fa7901dc1de91172d065fafb16ce89d77",
"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 6a65e98fa7901dc1de91172d065fafb16ce89d77
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Fri Oct 11 18:19:21 2024 +0800
[InstCombine] Drop range attributes in `foldIsPowerOf2` (#111946)
Fixes https://github.com/llvm/llvm-project/issues/111934.
diff --git a/llvm/lib/Transforms/InstCombine/Ins... | [
{
"file": "llvm/test/Transforms/InstCombine/ispow2.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "has_single_bit",
"test_body": "; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)\ndeclare i32 @llvm... | {
"title": "[InstCombine] poison-generating attributes are not dropped when folding logical and/or of icmps",
"body": "Reproducer: https://alive2.llvm.org/ce/z/rSUfvo\r\n```\r\ndefine i1 @src(i32 noundef %Value) {\r\nentry:\r\n %cmp.not = icmp eq i32 %Value, 0\r\n %0 = call range(i32 1, 33) i32 @llvm.ctpop.i32(i3... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
102597 | https://github.com/llvm/llvm-project/issues/102597 | miscompilation | 513c3726ebc0a324f7e5a11d25617bb9557324d6 | 2024-08-09T11:02:59 | [
"llvm/test/Transforms/IndVarSimplify"
] | {
"fix_commit": "3512bcc2e9ab06b0ae2cab78744550b515e54184",
"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 3512bcc2e9ab06b0ae2cab78744550b515e54184
Author: Nikita Popov <npopov@redhat.com>
Date: Mon Aug 12 15:18:32 2024 +0200
[SCEV] Fix incorrect extension in computeConstantDifference()
The Mul factor was zero-extended here, resulting in incorrect
results for integers larger than 64-bit.
... | [
{
"file": "llvm/test/Transforms/IndVarSimplify/pr102597.ll",
"commands": [
"opt -S -passes=indvars < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test() {\nentry:\n br label %loop\n\nloop: ; preds = %loop... | {
"title": "[SCEV] WRONG code ",
"body": "```\r\nint printf(const char *, ...);\r\n__int128 a = 3, c;\r\nchar b;\r\nint main() {\r\n c = 3;\r\n for (; c >= 0; c--) {\r\n b = 0;\r\n for (; b <= 3; b++) {\r\n if (c)\r\n break;\r\n a = 0;\r\n }\r\n }\r\n printf(\"%d\\n\", (int)a);\r\n}\r\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 79af6892f8eee1d0fb96c243716c8b03936751c9 | null |
159406 | https://github.com/llvm/llvm-project/issues/159406 | crash | 3e0c58be49c81931daf285c0973db5fb763e51e4 | 2025-09-17T17:14:39 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "8c41859a21a4d0cfda164cc58f4a5336dbcd30d1",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
20804,
20815
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 8c41859a21a4d0cfda164cc58f4a5336dbcd30d1
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Thu Sep 18 06:20:43 2025 -0700
[SLP]Clear the operands deps of non-schedulable nodes, if previously all operands were copyable
If all operands of the non-schedulable nodes were previously only
copyable... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/non-sched-inst-has-copyable-before.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-cros-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n%struct.fe = type { [5 x i64] }\n\ndefine ... | {
"title": "[SLPVectorizer] Crash after 57cae2b6a275a8eb3bc8935973263ed84535fb81",
"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-cros-linux-gnu\"\n ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | fd93dc5ac515557f30c9a569c73f6ebfd9b3039b | null |
117518 | https://github.com/llvm/llvm-project/issues/117518 | crash | 3de21477c49172081e502b47d608e729915f0914 | 2024-11-25T05:31:23 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "f953b5eb72df77fc301aac210eab31c6270ff771",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
10875,
10883
],
[
14372,
14378
]
],
"llvm/lib/Transforms/InstComb... | commit f953b5eb72df77fc301aac210eab31c6270ff771
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Nov 25 08:29:22 2024 -0800
[SLP]Relax assertion about subvectors mask size
SubVectorsMask might be less than CommonMask, if the vectors with larger
number of elements are permuted or reused element... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/non-power-of-2-subvectors-insert.ll",
"commands": [
"opt -S --passes=slp-vectorizer -slp-threshold=-300 -mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test() {... | {
"title": "[SLPVectorizer] Assertion `SubVectorsMask.size() == CommonMask.size() && \"Expected same size of masks for subvectors and common mask.\"' failed.",
"body": "Reproducer: https://godbolt.org/z/chKcKacPK\r\n```\r\n; bin/opt -passes=slp-vectorizer test.ll -S\r\ntarget datalayout = \"e-m:e-p270:32:32-p271:32... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | b8703369daf777706196ff914c0376c27adde3cf | null |
174045 | https://github.com/llvm/llvm-project/issues/174045 | miscompilation | 1171e30cb01c00a048ec0d82f20e57213842f505 | 2025-12-31T00:32:28 | [
"llvm/test/Transforms/GVN",
"llvm/test/Transforms/InstSimplify"
] | {
"fix_commit": "a3c9b72651178e7903c9c4db791b676ab91442a9",
"components": [
"Loads"
],
"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 a3c9b72651178e7903c9c4db791b676ab91442a9
Author: hanbeom <kese111@gmail.com>
Date: Thu Jan 8 09:30:11 2026 +0900
[IR] Fix canReplacePointersIfEqual to properly validate vector pointers (#174142)
Previously, `canReplacePointersIfEqual` unconditionally returned
`true` for vectors of pointers (e... | [
{
"file": "llvm/test/Transforms/GVN/condprop.ll",
"commands": [
"opt < %s -passes=gvn -S"
],
"tests": [
{
"test_name": "select_same_obj",
"test_body": "define void @select_same_obj(i1 %c, ptr %p, i64 %x) {\nentry:\n %p2 = getelementptr i8, ptr %p, i64 %x\n %p3 = select ... | {
"title": "[InstSimplify] Folds vector pointer `select (icmp eq <N x ptr>)` to operand and loses provenance",
"body": "Instsimplify can fold:\n\n```llvm\n%cmp = icmp eq <2 x ptr> %a, %b\n%sel = select <2 x i1> %cmp, <2 x ptr> %a, %b\n```\n\nto `ret <2 x ptr> %b`, which is not always valid for pointers. Even if `%a... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | null | null |
106641 | https://github.com/llvm/llvm-project/issues/106641 | crash | c8568f09577e9332d15edf98beb5376dc8d0672e | 2024-08-29T23:08:58 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "f0e34f381866b82a26241f7e9aa5964f0dd11ebd",
"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 f0e34f381866b82a26241f7e9aa5964f0dd11ebd
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Aug 30 11:29:29 2024 +0100
[VPlan] Don't skip optimizable truncs in planContainsAdditionalSimps.
A optimizable cast can also be removed by VPlan simplifications. Remove
the restriction from planContainsAdd... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/truncate-to-minimal-bitwidth-cost.ll",
"commands": [
"opt -p loop-vectorize -mattr=+v -S %s"
],
"tests": [
{
"test_name": "truncate_to_i1_used_by_branch",
"test_body": "target datalayout = \"e-m:e-p:64:64-i64:64-i128:128... | {
"title": "[VPlan] Assertion \" VPlan cost model and legacy cost model disagreed\"' failed.",
"body": "Tested using c4906588ce47de33d59bcd95f3e82ce2c3e61c23\r\n\r\nTestcase:\r\n```c\r\n_Bool a;\r\nchar b;\r\nunsigned char c;\r\nvoid d(_Bool e[][6]) {\r\n for (signed char f = 0; f < c; f += 3)\r\n for (_Bool g ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 4e04286d61edfb56338ca3a6d0735c5384508b00 | null |
82230 | https://github.com/llvm/llvm-project/issues/82230 | crash | 769c22f25b81b74e4da7871d4e552584605caef1 | 2024-02-19T09:37:19 | [
"llvm/test/DebugInfo"
] | {
"fix_commit": "5b342e6041f8567a39354ae3c5346cf74b3bb84f",
"components": [
"IR"
],
"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 5b342e6041f8567a39354ae3c5346cf74b3bb84f
Author: Stephen Tozer <stephen.tozer@sony.com>
Date: Mon Feb 19 11:38:04 2024 +0000
[RemoveDIs][DebugInfo] Check for null marker when printing DPValues (#82238)
The function to print DPValues currently tries to incorporate the
function it is part of, w... | [
{
"file": "llvm/test/DebugInfo/dpvalue-print-nocrash.ll",
"commands": [
"opt -passes=\"instcombine\" -debug %s -o /dev/null 2>&1"
],
"tests": [
{
"test_name": "<module>",
"test_body": ";; Tests that we can debug-print DPValues that have no markers attached.\n; REQUIRES: a... | {
"title": "opt -passes=\"instcombine\" -debug crashes with non-instrinsic debug-info",
"body": "llvm commit: d61864f813e3\r\nReproduce with:\r\n```\r\nopt -passes=\"instcombine\" -debug bbi-92509.ll -o /dev/null\r\n```\r\n[bbi-92509.ll.gz](https://github.com/llvm/llvm-project/files/14329283/bbi-92509.ll.gz)\r\n\r\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | a93a4ec7dd205b965ee5597314bb376520cd736c | null |
143513 | https://github.com/llvm/llvm-project/issues/143513 | crash | cf637b7e3554976419a0d672ad4c252137dc34f3 | 2025-06-10T12:05:35 | [
"llvm/test/Transforms/PhaseOrdering",
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "0108a5908cab5e418c683ef9b6e1810755344b5e",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
12085,
12091
],
[
12130,
12136
],
[
12152,
12159
... | commit 0108a5908cab5e418c683ef9b6e1810755344b5e
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Tue Jun 17 07:55:52 2025 -0700
[SLP]Fix a crash on an subvector size calculation for non-power-of-2 vector
Patch fixes cost estimation for the extractelements from non-power-of-2
vectors, defined as su... | [
{
"file": "llvm/test/Transforms/PhaseOrdering/X86/hadd.ll",
"commands": [
"opt < %s -O3 -S -mtriple=x86_64-- -mcpu=x86-64",
"opt < %s -O3 -S -mtriple=x86_64-- -mcpu=x86-64-v2",
"opt < %s -O3 -S -mtriple=x86_64-- -mcpu=x86-64-v3",
"opt < %s -O3 -S -mtriple=x86_64-- -mcpu=x86-64-v4",
... | {
"title": "SLP Vectorizer Options trigger Assertion in cost computation on `s390x`",
"body": "While running experiments with `csmith`, i ran into the following example (already reduced with `cvise`):\n```C\nstatic int c[][10];\nshort d;\nlong *e;\nlong f;\nint g, k;\nchar h, i;\nstatic int j[3];\nvoid l();\nstatic... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
107569 | https://github.com/llvm/llvm-project/issues/107569 | crash | b0428870dae980af84e50dfa3ee6ed2165998678 | 2024-09-06T11:56:19 | [
"llvm/test/Transforms/DeadArgElim"
] | {
"fix_commit": "5978bb2936d9a71d8e6891c640a36be760b569d3",
"components": [
"DeadArgumentElimination"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/Vecto... | commit 5978bb2936d9a71d8e6891c640a36be760b569d3
Author: u4f3 <ricoafoat@gmail.com>
Date: Thu Apr 10 22:08:09 2025 +0800
[DeadArgElim] fix verifier failure when changing musttail's function signature (#127366)
This commit is for #107569 and #126817.
Stop changing musttail's caller and callee's f... | [
{
"file": "llvm/test/Transforms/DeadArgElim/musttail-caller.ll",
"commands": [
"opt -passes=deadargelim -S < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define hidden void @test(i32 %a, i32 %b) {\n musttail call void @foo(i32 %a, i32 0)\n ret void\n}\n\ndecla... | {
"title": "DeadArgumentElimination creates invalid code with musttail calls returning structs",
"body": "The DeadArgumentElimination pass creates code which fails the IR verifier when run on this input:\r\n\r\n```test.ll\r\n%struct.S = type { i32 }\r\n\r\ndefine internal %struct.S @F38() {\r\n ret %struct.S { i3... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
118725 | https://github.com/llvm/llvm-project/issues/118725 | crash | e3352904309a539eddcf3ddd9fb11ca2aef29d65 | 2024-12-05T01:14:53 | [
"llvm/test/Transforms/GlobalOpt"
] | {
"fix_commit": "5013c81b781eb95af8e429956d63c8f9c16a4647",
"components": [
"Evaluator"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.cpp":... | commit 5013c81b781eb95af8e429956d63c8f9c16a4647
Author: Nikita Popov <npopov@redhat.com>
Date: Thu Dec 12 10:44:52 2024 +0100
[GlobalOpt][Evaluator] Don't evaluate calls with signature mismatch (#119548)
The global ctor evaluator tries to evalute function calls where the call
function type and funct... | [
{
"file": "llvm/test/Transforms/GlobalOpt/evaluate-ret-void-mismatch.ll",
"commands": [
"opt -S -passes=globalopt < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n; Don't evaluate call with return value type mismatch.\n\n@llvm.global_ctors = appending global... | {
"title": "SIGSEGV with -flto",
"body": "Static linking with -flto on Arch linux with clang 18.1.8\n\nNot able to get a minimal repro at the moment. Other possibly less common options\n\n \"-std=c++20\",\n \"-nostdlib\",\n \"-nostartfiles\",\n \"-fno-exceptions\",\n \"-fno-rtti\",\n\nProgr... | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | Cannot find a good commit | null |
181183 | https://github.com/llvm/llvm-project/issues/181183 | crash | b69292549552f53eeff7deebdd649a5a6522b7d0 | 2026-02-12T16:56:00 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "b3dcf485d23a574e4c377739a32468240a87c2fc",
"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 b3dcf485d23a574e4c377739a32468240a87c2fc
Author: Florian Hahn <flo@fhahn.com>
Date: Fri Feb 13 21:16:52 2026 +0000
[VPlan] Compute NumPredStores for VPReplicateRecipe costs in VPlan.
Compute the number of predicated stores directly in VPlan instead of
using CM.useEmulatedMaskMemRefHack(), whi... | [
{
"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": "predicated_store",
... | {
"title": "[LV]VPlan cost model and legacy cost model disagreed",
"body": "https://godbolt.org/z/TzKsnE8Kr\n@fhahn looks like another one",
"author": "alexey-bataev",
"labels": [
"vectorizers",
"crash-on-valid"
],
"comments": []
} | true | {
"is_single_file_fix": false,
"is_single_func_fix": false
} | null | null |
174020 | https://github.com/llvm/llvm-project/issues/174020 | crash | 16ecf40aea105c3cf908b9653d6556e31bbc480a | 2025-12-30T21:08:26 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "55e0b928b5f48678f742ea9a026774e41b484f13",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
14177,
14182
],
[
18614,
18619
]
],
"llvm/lib/Transforms/InstComb... | commit 55e0b928b5f48678f742ea9a026774e41b484f13
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Wed Dec 31 10:21:42 2025 -0800
[SLP]Consider deleted/gathered nodes, when deciding to erase extractelement
If any user of the extractelement instruction is part of the node to be
deleted/gathered, such... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/deleted-instructions-clear.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -mcpu=znver2 < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine void @test(i32 %arg, i32 %a... | {
"title": "Assertion `I->use_empty() && \"trying to erase instruction with users.\"' failed.",
"body": "To reproduce run opt with the test below (-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-i128:... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
177144 | https://github.com/llvm/llvm-project/issues/177144 | crash | 8e362e10c79a73438a8678dbb1f9be29b3c01cae | 2026-01-21T11:27:54 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "4ec35a0b0e13f15ad38a2fa668004c892a365795",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit 4ec35a0b0e13f15ad38a2fa668004c892a365795
Author: Mitch Briles <mitchbriles@gmail.com>
Date: Wed Jan 28 08:13:50 2026 -0700
[VectorCombine] Fix crash when folding select of bitcast (#177183)
Fixes #177144. Nits appreciated.
The fold in question does the following transformation:
Befor... | [
{
"file": "llvm/test/Transforms/VectorCombine/AMDGPU/combine-scalar-selects.ll",
"commands": [
"opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -passes=vector-combine -S %s",
"opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -S %s"
],
"tests": [
{
"test_name": "fold_selects_from_bit... | {
"title": "[VectorCombine] LLVM ERROR: Broken module found, compilation aborted!",
"body": "Reproducer: https://godbolt.org/z/nWG51fEc1\nTestcase:\n```llvm\ndefine i8 @backsmith_pure_0() {\nentry:\n %0 = bitcast <4 x i64> splat (i64 1) to <32 x i8>\n %vecext56 = extractelement <32 x i8> %0, i64 0\n %tobool.not ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
162922 | https://github.com/llvm/llvm-project/issues/162922 | crash | a61e016565409b6a6620422dd915e591ea75f998 | 2025-10-10T21:14:51 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "0e28c9bc9d64625db8e4a1707720c9eecff069a4",
"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 0e28c9bc9d64625db8e4a1707720c9eecff069a4
Author: Florian Hahn <flo@fhahn.com>
Date: Mon Oct 27 05:01:16 2025 +0000
[LAA] Skip undef/poison strides in collectStridedAccess.
The map returned by collectStridedAccess is used to replace strides with
their versioned values. This does not work for U... | [
{
"file": "llvm/test/Transforms/LoopVectorize/version-mem-access.ll",
"commands": [
"opt -passes=loop-vectorize -enable-mem-access-versioning -force-vector-width=2 -force-vector-interleave=1 -S %s"
],
"tests": [
{
"test_name": "stride_undef",
"test_body": "; Function Attr... | {
"title": "[RISC-V][LoopVectorize] Assertion `hasUseList()' failed.",
"body": "Testcase:\n```llvm ir\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\ntarget triple = \"riscv64-unknown-linux-gnu\"\n\n@l = external global [25 x i16]\n\ndefine void @init() {\nentry:\n store <4 x i16> splat (i16 1)... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
115279 | https://github.com/llvm/llvm-project/issues/115279 | crash | a24f6ce743cc2dd311e35894f386c05d0ead089c | 2024-11-07T08:44:28 | [
"llvm/test/Transforms/LoopFusion"
] | {
"fix_commit": "599c2731b3bbe9add135558377dbee2e1fa24358",
"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 599c2731b3bbe9add135558377dbee2e1fa24358
Author: Alireza Torabian <alireza.torabian@huawei.com>
Date: Thu Jan 22 19:50:21 2026 -0500
[LoopFusion] Forget cached SCEV values after the fusion (#177455)
This patch fixes the issue #115279. After the fusion, some of the cached
SCEV values such as t... | [
{
"file": "llvm/test/Transforms/LoopFusion/pr115279.ll",
"commands": [
"opt -passes=loop-fusion -disable-output -stats < %s 2>&1"
],
"tests": [
{
"test_name": "<module>",
"test_body": "; REQUIRES: asserts\n; STAT: 1 loop-fusion - Loops fused\n\n; C Code\n;\n;; for (i = 0... | {
"title": "[LoopFusion] Assert \"Fused candidate should be eligible for fusion\"",
"body": "To reproduce: https://compiler-explorer.com/z/oqacnTqoa\r\n```opt -S -passes=loop-fusion -debug-only=loop-fusion ``` crashes on the LLVMIR generated from ```clang -O1``` because of an assertion failure\r\nStack Dump:\r\n``... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
114901 | https://github.com/llvm/llvm-project/issues/114901 | miscompilation | a88be11eef59b1722030e1219109ea0b76eebbe5 | 2024-11-05T00:44:52 | [
"llvm/test/Transforms/VectorCombine"
] | {
"fix_commit": "05e838f428555bcc4507bd37912da60ea9110ef6",
"components": [
"VectorCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.c... | commit 05e838f428555bcc4507bd37912da60ea9110ef6
Author: Simon Pilgrim <llvm-dev@redking.me.uk>
Date: Tue Nov 5 11:42:20 2024 +0000
[VectorCombine] foldExtractedCmps - disable fold on non-commutative binops
The fold needs to be adjusted to correctly track the LHS/RHS operands, which will take some refact... | [
{
"file": "llvm/test/Transforms/VectorCombine/X86/pr114901.ll",
"commands": [
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2",
"opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=avx2"
],
"tests": [
{
"test_name": "PR114901",
"test_body":... | {
"title": "[VectorCombine] miscompilation",
"body": "Alive2 report: https://alive2.llvm.org/ce/z/YwSTI4\r\n\r\n```llvm\r\n----------------------------------------\r\ndefine i1 @icmp_xor_v4i32.2(<4 x i32> %a) {\r\n#0:\r\n %e1 = extractelement <4 x i32> %a, i32 3\r\n %e2 = extractelement <4 x i32> %a, i32 1\r\n %... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
161492 | https://github.com/llvm/llvm-project/issues/161492 | miscompilation | c09054866a1ad6c250e6c972d369b9023abb4b3b | 2025-10-01T08:52:18 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "73d9974c91413f5a6dbe6f76f4b73ad226b6276b",
"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 73d9974c91413f5a6dbe6f76f4b73ad226b6276b
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Wed Oct 1 22:02:30 2025 +0800
[InstCombine] Avoid self-replacing in `getUndefReplacement` (#161500)
Self-replacing has a different meaning in InstCombine. It will replace
all uses with poison.
Clo... | [
{
"file": "llvm/test/Transforms/InstCombine/freeze.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "pr161492_2",
"test_body": "define i64 @pr161492_2(i1 %cond) {\n %fr = freeze i64 poison\n %ret = select i1 %cond, i64 %fr, i64 %fr\n re... | {
"title": "[InstCombine] Miscompilation when removing freezes",
"body": "Reproducer: https://alive2.llvm.org/ce/z/3napog\n```\ndefine i64 @src(i1 %cond) {\n %1 = freeze i64 poison\n %2 = freeze i64 poison\n %ret = select i1 %cond, i64 %1, i64 %2\n ret i64 %ret\n}\n\ndefine i64 @tgt(i1 %cond) {\n ret i64 poiso... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Unrelated | null |
164171 | https://github.com/llvm/llvm-project/issues/164171 | crash | 94647eea7fc0fcdf1c953b8ff6bd6ef9981d7890 | 2025-10-19T18:02:40 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "9fe1f29541109ac10e1399deb85da0507135f836",
"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 9fe1f29541109ac10e1399deb85da0507135f836
Author: Luke Lau <luke@igalia.com>
Date: Mon Oct 20 18:39:16 2025 +0800
[VPlan] Set flags when constructing zexts using VPWidenCastRecipe (#164198)
createWidenCast doesn't set the flag type, so when we simplify trunc
(zext nneg x) -> zext x we would hi... | [
{
"file": "llvm/test/Transforms/LoopVectorize/cse-casts.ll",
"commands": [
"opt -p loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s"
],
"tests": [
{
"test_name": "preserve_flags_narrowing_extends_and_truncs",
"test_body": "define void @preserve_flags_... | {
"title": "[LV] Assert \"OpType must match\" in VPIRFlags::intersectFlags",
"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 void @_Z1hiPA2_bPA2_c(ptr %arrayidx6, ptr ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | c3e76b27709f93c9e945caa29dae596b581289e2 | null |
97452 | https://github.com/llvm/llvm-project/issues/97452 | crash | 5c204b1d2619cbad7b7ad228b62feae08781a6db | 2024-07-02T17:49:01 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "2b3b405b09a0d965a4aff1f92958418ddbf1e7f6",
"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 2b3b405b09a0d965a4aff1f92958418ddbf1e7f6
Author: Florian Hahn <flo@fhahn.com>
Date: Thu Jul 4 11:44:50 2024 +0100
[LV] Don't vectorize first-order recurrence with VF <vscale x 1 x ..>
The assertion added as part of https://github.com/llvm/llvm-project/pull/93395
surfaced cases where first-ord... | [
{
"file": "llvm/test/Transforms/LoopVectorize/RISCV/first-order-recurrence-scalable-vf1.ll",
"commands": [
"opt -p loop-vectorize -S %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ntarget datalayout = \"e-m:e-p:64:64-i64:64-i128:128-n32:64-S128\"\ntarget trip... | {
"title": "[LoopVectorize] Assertion `Offset <= State.VF.getKnownMinValue() && \"invalid offset to extract from\"' failed.",
"body": "Reduced testcase:\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 {\... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 07b330132c0b7fd5b3ada1890840d0dbbd8cdb8e | null |
155287 | https://github.com/llvm/llvm-project/issues/155287 | crash | cdb18705fc81018303e1089bbae0a2ae2fd201af | 2025-08-25T20:29:01 | [
"llvm/test/Transforms/LoopIdiom"
] | {
"fix_commit": "b29084f0d80dd4fd66f1421350c87f79c537d071",
"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 b29084f0d80dd4fd66f1421350c87f79c537d071
Author: Florian Hahn <flo@fhahn.com>
Date: Tue Aug 26 11:38:39 2025 +0100
[SCEVExp] Check if getPtrToIntExpr resulted in CouldNotCompute.
This fixes a crash trying to use SCEVCouldNotCompute, if getPtrToIntExpr
failed.
Fixes https://github.com... | [
{
"file": "llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll",
"commands": [
"opt -p loop-idiom -S %s"
],
"tests": [
{
"test_name": "phi_ptr_addressspace_ptrtoint_fail",
"test_body": "target datalayout = \"e-m:e-i64:64-i128:128-f80:128-n8:16:32:64-S128-ni:1... | {
"title": "Attempt to use a SCEVCouldNotCompute object! UNREACHABLE executed at /root/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:412!",
"body": "To reproduce run opt with the test below, -passes=loop-idiom.\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayout = \"e-m:e-p... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | e21ee41be450f849f5247aafa07d7f4c3941bb9d | null |
96294 | https://github.com/llvm/llvm-project/issues/96294 | crash | 5262865aac683b72f3e66de7a122e0c455ab6b9b | 2024-06-21T10:15:21 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "fdb9f96fa2a926425bdf8315048db7623d63547d",
"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 fdb9f96fa2a926425bdf8315048db7623d63547d
Author: Florian Hahn <flo@fhahn.com>
Date: Sun Aug 4 20:54:25 2024 +0100
[LV] Consider earlier stores to invariant reduction address as dead.
For invariant stores to an address of a reduction, only the latest store
will be generated outside the loop. C... | [
{
"file": "llvm/test/Transforms/LoopVectorize/X86/cost-model.ll",
"commands": [
"opt < %s -passes=loop-vectorize -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx -S"
],
"tests": [
{
"test_name": "reduction_store",
"test_body": "target datalayout = \"e-p:64:64:64-i1:8:8... | {
"title": "llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:10353: bool llvm::LoopVectorizePass::processLoop(llvm::Loop*): Assertion `VF.Width == Width && \"VPlan cost model and legacy cost model disagreed\"' failed.",
"body": "[calcc-0ebd65.c.gz](https://github.com/user-attachments/files/15926158/calcc-0ebd65.c.gz... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Invalid order | null |
123639 | https://github.com/llvm/llvm-project/issues/123639 | miscompilation | 5e4c34a9b67d9ce15d14f83bcea96ccb69de1eae | 2025-01-20T16:05:11 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "7d01a8f2b9ac28ffe73bef4b513d383d3edf34b5",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
13205,
13213
],
[
14497,
14503
]
],
"llvm/lib/Transforms/InstComb... | commit 7d01a8f2b9ac28ffe73bef4b513d383d3edf34b5
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Jan 20 14:22:20 2025 -0800
[SLP]Fix vector factor for repeated node for bv
When adding a node vector, when it is used already in the shuffle for
buildvector, need to calculate vector factor from al... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/multi-node-reuse-in-bv.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu -mattr=+avx2 < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define i32 @main() {\nentry:\n %.neg15 = su... | {
"title": "SLP Vectorizer miscompilation",
"body": "During our local testing, we identified a miscompilation where the SLP Vectorizer appears to be the cause. Here is the reproducer we managed to prepare:\nhttps://godbolt.org/z/9nePcq7Go\n\nThe issue can be demonstrated using the `lli` tool. Unfortunately, I canno... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
164082 | https://github.com/llvm/llvm-project/issues/164082 | crash | 8cd22447af239206daabb42fc63e2824a1f7fb6e | 2025-10-18T12:59:23 | [
"llvm/test/Transforms/LoopFusion"
] | {
"fix_commit": "025e431e7450cada2724b19eb59354a6c020fa4f",
"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 025e431e7450cada2724b19eb59354a6c020fa4f
Author: Alireza Torabian <alireza.torabian@huawei.com>
Date: Tue Nov 4 16:48:39 2025 -0500
[LoopFusion] Forget loop and block dispositions after latch merge (#166233)
Merging the latches of loops may affect the dispositions, so they should
be forgotten... | [
{
"file": "llvm/test/Transforms/LoopFusion/pr164082.ll",
"commands": [
"opt -passes=loop-fusion -disable-output -stats < %s 2>&1"
],
"tests": [
{
"test_name": "<module>",
"test_body": "; REQUIRES: asserts\n; STAT: 1 loop-fusion - Loops fused\n\n; C Code\n;\n;; for (int i... | {
"title": "crashes with assertion failure when running opt -passes=loop-fusion",
"body": "Reproducer:\nhttps://godbolt.org/z/qzjrq4P3z\n\nBacktrace:\n```console\nopt: /root/llvm-project/llvm/include/llvm/Support/GenericLoopInfo.h:135: bool llvm::LoopBase<N, M>::contains(const BlockT*) const [with BlockT = llvm::Ba... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | null | null |
179880 | https://github.com/llvm/llvm-project/issues/179880 | crash | a67bf7d796df75592a26a377420696e3c7b7993f | 2026-02-05T08:10:42 | [
"llvm/test/Transforms/Scalarizer"
] | {
"fix_commit": "6e0054aa512aaa29cc04788291bbf3b4dfcbd2b3",
"components": [
"Scalarizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.cpp"... | commit 6e0054aa512aaa29cc04788291bbf3b4dfcbd2b3
Author: bala-bhargav <penugondabalabharghav@gmail.com>
Date: Sat Feb 21 23:25:30 2026 +0530
[Scalarizer] Fix out-of-bounds crash (#180359)
When processing an extractelement instruction with an index that exceeds
the vector size (e.g., extracting index ... | [
{
"file": "llvm/test/Transforms/Scalarizer/constant-extractelement.ll",
"commands": [
"opt %s -passes='function(scalarizer<load-store>,dce)' -S"
],
"tests": [
{
"test_name": "oob_extract",
"test_body": "target datalayout = \"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-... | {
"title": "[opt] -passes=scalarizer causes Assertion `idx < size()'",
"body": "Reproducer: https://godbolt.org/z/MhnqEWPs9\n\n```\nopt: /root/llvm-project/llvm/include/llvm/ADT/SmallVector.h:297: T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](llvm::SmallVectorTemplateCommon<T, <templa... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
122558 | https://github.com/llvm/llvm-project/issues/122558 | crash | 25f28ddd69ed2453726c0934ba6feea8ae6f10f8 | 2025-01-11T00:36:48 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "1de3dc7d23dd6b856efad3a3a04f2396328726d7",
"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 1de3dc7d23dd6b856efad3a3a04f2396328726d7
Author: Florian Hahn <flo@fhahn.com>
Date: Tue Jan 14 22:07:38 2025 +0000
[LV] Bail out early if BTC+1 wraps.
Currently we fail to detect the case where BTC + 1 wraps, i.e. the
vector trip count is 0, In those cases, the minimum iteration count
che... | [
{
"file": "llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-epilogue.ll",
"commands": [
"opt -mattr=+dotprod -passes=loop-vectorize -force-vector-interleave=1 -S < %s"
],
"tests": [
{
"test_name": "dotp",
"test_body": "target datalayout = \"e-m:e-i8:8... | {
"title": "[LoopVectorizer] Assertion `EPResumeVal && \"must have a resume value for the canonical IV\"' failed.",
"body": "clang -Wno-incompatible-pointer-types -O3 -march=z13 -S -c crash19.i -o a.out -w -mllvm -disable-licm-promotion -mllvm -epilogue-vectorization-force-VF=2 \n\n[crash19.tar.gz](https://github.... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Timeout | null |
139728 | https://github.com/llvm/llvm-project/issues/139728 | crash | be6c1684c058ff40b5cb29e7eb88f06f72dd50df | 2025-05-13T13:36:11 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "d79d9b8fbfc7e8411aeaf2f5e1be9d4247594fee",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
16142,
16157
],
[
16210,
16216
],
[
17799,
17815
... | commit d79d9b8fbfc7e8411aeaf2f5e1be9d4247594fee
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Fri May 16 12:52:27 2025 -0400
[SLP]Change the insertion point for outside-block-used nodes and prevec phi operand gathers
Need to set the insertion point for (non-schedulable) vector node after
the la... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/AArch64/reused-scalar-repeated-in-node.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=aarch64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test() {\nentry:\n br label %b... | {
"title": "Instruction does not dominate all uses! LLVM ERROR: Broken module found, compilation aborted! Yet another case.",
"body": "To reproduce run opt with the test below using -passes=slp-vectorizer -slp-threshold=-99999:\n\n```\n; ModuleID = './reduced.ll'\nsource_filename = \"./reduced.ll\"\ntarget datalayo... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 894935cb5146fd2ac6334cc8b11e6d6e0e264fe6 | null |
158259 | https://github.com/llvm/llvm-project/issues/158259 | crash | da315a3528807574d1c9ba44758d35bfc515e709 | 2025-09-12T09:57:14 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "45ce88758d24df7c2c322b152cf4894f3e8ee45a",
"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 45ce88758d24df7c2c322b152cf4894f3e8ee45a
Author: Florian Hahn <flo@fhahn.com>
Date: Tue Sep 30 11:03:55 2025 +0100
[LV] Don't preserve LCSSA in SCEVExpander for runtime checks. (#159556)
LV does not preserve LCSSA, it constructs it just before processing a
loop to vectorize. Runtime check exp... | [
{
"file": "llvm/test/Transforms/LoopVectorize/X86/cleanup-runtime-checks.ll",
"commands": [
"opt -p loop-vectorize -S %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ntarget triple = \"x86_64-unknown-linux-gnu\"\n\ndeclare ptr @get()\ndeclare i1 @cond()\n\n; M... | {
"title": "LoopVectorizer crashes in SCEVExpanderCleanup",
"body": "Assert in vectorizer during SCEVExpanderCleanup: https://godbolt.org/z/Ezcf68T85\n\nAssert message:\n\n```\nopt: .../llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp:2466: void llvm::SCEVExpanderCleaner::cleanup(): Assertion `all_of(I->users(... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
166035 | https://github.com/llvm/llvm-project/issues/166035 | crash | bf5332cd8266cddb3bfb2e8436a2161c10602855 | 2025-11-02T02:09:29 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "7d5659083cb21722416b38fe92b7200fe89be232",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
20975,
20980
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 7d5659083cb21722416b38fe92b7200fe89be232
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Nov 3 06:25:20 2025 -0800
[SLP]Do not create copyable node, if parent node is non-schedulable and has a use in binop.
If the parent node is non-schedulable (only externally used instructions), and at l... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/X86/parent-non-schedule-multi-use-in-binop.ll",
"commands": [
"opt -passes=slp-vectorizer -S --mtriple=x86_64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n@a = common global [100 x i64] zero... | {
"title": "Clang crashes when compiling with PGO",
"body": "The crash happens on the last commit `8331c732b4ce523e0731981f`\n\n```\n$ clang-trunk -v\nclang version 22.0.0git (https://github.com/llvm/llvm-project.git 8331c732b4ce523e0731981ffd42f4e3f4064d2d)\nTarget: x86_64-unknown-linux-gnu\nThread model: posix\n`... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
118798 | https://github.com/llvm/llvm-project/issues/118798 | hang | 8a90b5b31776957cb9cfa4f9547d19544640c5cc | 2024-12-05T13:19:25 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "27eaa8a40ef338bea611f693fa8e810b1fc8d78d",
"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 27eaa8a40ef338bea611f693fa8e810b1fc8d78d
Author: Maurice Heumann <MauriceHeumann@gmail.com>
Date: Thu Dec 5 16:57:27 2024 +0100
[InstCombine] Prevent infinite loop with two shifts (#118806)
The following pattern: `(C2 << X) << C1` will usually be transformed
into `(C2 << C1) << X`, essentiall... | [
{
"file": "llvm/test/Transforms/InstCombine/shl-twice-constant.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "testfunc",
"test_body": "@c = external constant i8\n@c2 = external constant i8\n\ndefine i64 @testfunc() {\n %shl1 = shl i64 ... | {
"title": "[InstCombine] Infinite loop when combining two `shl` instructions",
"body": "The following sample triggers an infinite loop in instcombine:\n\n```\n@c = external constant i8\n@c2 = external constant i8\n\ndefine i16 @testfunc() {\nentry:\n %0 = shl i64 1, ptrtoint (ptr @c2 to i64)\n %1 = shl i64 %0, p... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | N/A | null |
91691 | https://github.com/llvm/llvm-project/issues/91691 | miscompilation | 1fadb2b0c881ced247931f442fdee6c4ed96dccb | 2024-05-10T02:43:43 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "b5f4210e9f51f938ae517f219f04f9ab431a2684",
"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 b5f4210e9f51f938ae517f219f04f9ab431a2684
Author: Yingwei Zheng <dtcxzyw2333@gmail.com>
Date: Mon May 13 14:27:59 2024 +0800
[InstCombine] Drop nuw flag when CtlzOp is a sub nuw (#91776)
See the following case:
```
define i32 @src1(i32 %x) {
%dec = sub nuw i32 -2, %x
%ctlz = ta... | [
{
"file": "llvm/test/Transforms/InstCombine/bit_ceil.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "pr91691",
"test_body": "define i32 @pr91691(i32 %0) {\n %2 = sub nuw i32 -2, %0\n %3 = tail call i32 @llvm.ctlz.i32(i32 %2, i1 false)\... | {
"title": "instcombine removes a select, making code more poisonous",
"body": "https://alive2.llvm.org/ce/z/c__jy8\r\n\r\nthis function:\r\n```llvm\r\ndefine i32 @f(i32 %0) {\r\n %2 = sub nuw i32 -2, %0\r\n %3 = tail call i32 @llvm.ctlz.i32(i32 %2, i1 false)\r\n %4 = sub i32 32, %3\r\n %5 = shl i32 1, %4\r\n ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | Cannot find a good commit | null |
165087 | https://github.com/llvm/llvm-project/issues/165087 | crash | 3d3dd559a0830ea9048cbbc92b0f7b762c5dd0e3 | 2025-10-25T08:30:57 | [
"llvm/test/Transforms/LoopFusion"
] | {
"fix_commit": "1286de408cc4a3ba1bd6cb6fed7d9517c0429462",
"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 1286de408cc4a3ba1bd6cb6fed7d9517c0429462
Author: Congzhe <congzhe.cao@huawei.com>
Date: Thu Jan 22 16:12:12 2026 -0500
[LoopFusion] Optimize away Phi nodes that are sunk from the 2nd loop preheader (#176503)
Fixed issue #165087.
When we sink phis from the 2nd loop preheader to the exit b... | [
{
"file": "llvm/test/Transforms/LoopFusion/lcssa.ll",
"commands": [
"opt -S -passes=loop-fusion < %s 2>&1"
],
"tests": [
{
"test_name": "test1",
"test_body": "define void @test1() {\nentry:\n br label %vector.ph\n\nvector.ph: ; pred... | {
"title": "[LoopFusion] Assert \"Instruction does not dominate all uses\"",
"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 i8 @_Z3fn1ssb() {\nentry:\n br label %for... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | null | null |
111887 | https://github.com/llvm/llvm-project/issues/111887 | crash | 195486950fa64938e62f6d85d31222fa41d0ee09 | 2024-10-10T18:31:43 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "4b5018d2311596778cade4db5177e2ab879cc218",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
1293,
1300
],
[
6322,
6328
],
[
18820,
18826
... | commit 4b5018d2311596778cade4db5177e2ab879cc218
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Thu Oct 10 13:40:22 2024 -0700
[SLP]Track repeated reduced value as it might be vectorized
Need to track changes with the repeated reduced value, since it might be
vectorized in the next attempt for re... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/RISCV/reduced-value-repeated-and-vectorized.ll",
"commands": [
"opt -S --passes=slp-vectorizer -mtriple=riscv64-unknown-linux-gnu -mattr=+v < %s"
],
"tests": [
{
"test_name": "test",
"test_body": "define void @test() {\nentry:... | {
"title": "[SLP-Vectorizer] Segfault in `HorizontalReduction::matchAssociativeReduction`",
"body": "Testcase:\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\nfor.body.preheader:\r\n %0 = load i16,... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | a98882112387b6bc585e758a8139fd06ac41f448 | null |
124387 | https://github.com/llvm/llvm-project/issues/124387 | miscompilation | 77c325b646301e394bcd89c2980b4c2da8af49cd | 2025-01-25T03:24:37 | [
"llvm/test/Transforms/InstCombine"
] | {
"fix_commit": "2131115be5b9d8b39af80973d9b64c0adc41d38d",
"components": [
"InstCombine"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": [
[
1039,
1049
]
],
"l... | commit 2131115be5b9d8b39af80973d9b64c0adc41d38d
Author: Fangrui Song <i@maskray.me>
Date: Sat Jan 25 13:35:11 2025 -0800
[InstCombine] Drop Range attribute when simplifying 'fshl' based on demanded bits (#124429)
When simplifying operands based on demanded bits, the return value range
of llvm.fshl m... | [
{
"file": "llvm/test/Transforms/InstCombine/fsh.ll",
"commands": [
"opt < %s -passes=instcombine -S"
],
"tests": [
{
"test_name": "fshl_range_trunc",
"test_body": "; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)\ndeclare i32 @llvm.... | {
"title": "[clang] Miscompile with -O2/3/s",
"body": "This code prints random value at `-O2/3/s` and -1 at `-O0/1`:\n\n```c\nint printf(const char *, ...);\nint a, b;\nvoid c(char d) { a = d; }\nint e(int d) {\n if (d < 0)\n return 1;\n return 0;\n}\nint f() {\n if (b)\n return 0;\n return 1;\n}\nint g(i... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | Cannot find a good commit | null |
140442 | https://github.com/llvm/llvm-project/issues/140442 | crash | b18ebd17b82db0bdf5bb8cae59c3208288fbef93 | 2025-05-18T08:07:12 | [
"llvm/test/Transforms/LoopUnroll"
] | {
"fix_commit": "7e14161f49b32387988cf9d937bbfaa27d0fbdd5",
"components": [
"LoopPeel"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombine.cpp": ... | commit 7e14161f49b32387988cf9d937bbfaa27d0fbdd5
Author: Florian Hahn <flo@fhahn.com>
Date: Sun May 18 10:17:20 2025 +0100
[LoopPeel] Handle constants when updating exit values when peeling last.
Account for constant values when updating exit values after peeling an
iteration from the end. This can h... | [
{
"file": "llvm/test/Transforms/LoopUnroll/unroll-and-peel-last-iteration.ll",
"commands": [
"opt -p loop-unroll -S %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\n; Test case for https://github.com/llvm/llvm-project/issues/140442.\ndefine i32 @peel_last_iter... | {
"title": "[LoopUnroll] Assertion `New && \"Value::replaceAllUsesWith(<null>) is invalid!\"' failed.",
"body": "Reproducer: https://godbolt.org/z/ahxqn68Mn\n```\n; bin/opt -passes=\"loop-unroll<O3>\" 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-S12... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 3fcfce4c5e5fd1c3072e8db1d692c93459e8cd74 | null |
164185 | https://github.com/llvm/llvm-project/issues/164185 | crash | ee50839700af4800a2d72702a5583b72e1ffb81e | 2025-10-19T22:22:53 | [
"llvm/test/Transforms/SLPVectorizer"
] | {
"fix_commit": "154138c25f358ed812eafc2880225c3d88221e8a",
"components": [
"SLPVectorizer"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": [
[
10546,
10553
]
],
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
... | commit 154138c25f358ed812eafc2880225c3d88221e8a
Author: Alexey Bataev <a.bataev@outlook.com>
Date: Mon Oct 20 04:15:47 2025 -0700
[SLP]Do not pack div-like copyable values
If a main instruction in the copyables is a div-like instruction, the
compiler cannot pack duplicates, extending with poisons, t... | [
{
"file": "llvm/test/Transforms/SLPVectorizer/AArch64/div-like-mixed-with-undefs.ll",
"commands": [
"opt -passes=slp-vectorizer -S -slp-threshold=-100 -mtriple=aarch64-unknown-linux-gnu < %s"
],
"tests": [
{
"test_name": "<module>",
"test_body": "\ndefine ptr @test(ptr %d... | {
"title": "[SLP] Crash in BoUpSLP::collectValuesToDemote",
"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 ptr @_Z1bbPA2_sPA2_A2_c(ptr %d) {\nentry:\n %0 = load i8, ... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | 7f03b22dce1f4dae9db3ec8919db7dbd98202e0b | null |
104761 | https://github.com/llvm/llvm-project/issues/104761 | crash | 5cfa8baef33636827e5aa8dd76888c724433b53e | 2024-08-19T11:00:31 | [
"llvm/test/Analysis/LoopCacheAnalysis"
] | {
"fix_commit": "2e6deb1dd3a4422807633ba08773e8d786e43d4c",
"components": [
"LoopCacheAnalysis"
],
"bug_location_lineno": {
"llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp": null,
"llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp": null,
"llvm/lib/Transforms/Vectorize/VectorCombi... | commit 2e6deb1dd3a4422807633ba08773e8d786e43d4c
Author: Sjoerd Meijer <smeijer@nvidia.com>
Date: Thu Nov 14 08:40:45 2024 +0000
[LoopInterchange] Fix overflow in cost calculation (#111807)
If the iteration count is really large, e.g. UINT_MAX, then the cost
calculation can overflows and trigger an a... | [
{
"file": "llvm/test/Analysis/LoopCacheAnalysis/interchange-refcost-overflow.ll",
"commands": [
"opt < %s -passes='print<loop-cache-cost>' -disable-output 2>&1"
],
"tests": [
{
"test_name": "foo",
"test_body": "@A = external local_unnamed_addr global [11 x [11 x [11 x i... | {
"title": "[LoopInterchange] Assertion `getActiveBits() <= 64 && \"Too many bits for uint64_t\"",
"body": "With options \"-O3 --target=aarch64 func.cpp -mllvm -enable-loopinterchange\" and this input:\r\n```\r\nunsigned int A[11][11][11] __attribute__((aligned(16)));\r\nvoid a(int b) {\r\n for (int c;; c += b)\r... | true | {
"is_single_file_fix": true,
"is_single_func_fix": false
} | 09d879d060ed31b22a6e72f7f5e44fe9b5660aa3 | null |
176720 | https://github.com/llvm/llvm-project/issues/176720 | crash | ca51c973b5feb0b7e9c798316b03d66d9ab338cf | 2026-01-19T10:04:55 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "69fbab2b72b1c9d5678ba6a6ad234e689ed9bce9",
"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 69fbab2b72b1c9d5678ba6a6ad234e689ed9bce9
Author: Florian Hahn <flo@fhahn.com>
Date: Mon Jan 19 21:25:52 2026 +0000
[VPlan] Fall back to legacy cost if operands may be force-scalarized.
If any of the operands of a VPReplicateRecipe have been
force-scalarized, then the legacy cost model skips t... | [
{
"file": "llvm/test/Transforms/LoopVectorize/X86/cost-model.ll",
"commands": [
"opt < %s -passes=loop-vectorize -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx -S"
],
"tests": [
{
"test_name": "replicating_sdiv_operand_profitable_to_scalarize",
"test_body": "target d... | {
"title": "Assertion `(BestFactor.Width == LegacyVF.Width || BestPlan.hasEarlyExit() || ... || planContainsAdditionalSimplifications( getPlanFor(LegacyVF.Width), CostCtx, OrigLoop, LegacyVF.Width)) && \" VPlan cost model and legacy cost model disagreed\"' failed.",
"body": "```\nopt: /root/llvm-project/llvm/lib/Tr... | true | {
"is_single_file_fix": true,
"is_single_func_fix": true
} | null | null |
131071 | https://github.com/llvm/llvm-project/issues/131071 | crash | fecd937910f640663885e0434bfed80cf4574072 | 2025-03-13T04:07:59 | [
"llvm/test/Transforms/LoopVectorize"
] | {
"fix_commit": "2e13ec561c8139951e3f0815c35c758a7a3011db",
"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 2e13ec561c8139951e3f0815c35c758a7a3011db
Author: Florian Hahn <flo@fhahn.com>
Date: Wed Mar 19 21:35:15 2025 +0000
[VPlan] Bail out on non-intrinsic calls in VPlanNativePath.
Update initial VPlan-construction in VPlanNativePath in line with the
inner loop path, in that it bails out when encou... | [
{
"file": "llvm/test/Transforms/LoopVectorize/vplan-widen-call-instruction.ll",
"commands": [
"opt -passes=loop-vectorize -force-vector-width=4 -enable-vplan-native-path -S %s"
],
"tests": [
{
"test_name": "call_to_non_intrinsic",
"test_body": "define void @call_to_non_in... | {
"title": "[LoopVectorize] Assertion `ID != Intrinsic::not_intrinsic && \"Not an intrinsic!\"' failed.",
"body": "Reproducer: https://godbolt.org/z/n7E1TjTv5\n```\n; bin/opt -passes=loop-vectorize -enable-vplan-native-path reduced.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": false,
"is_single_func_fix": false
} | Cannot find a good commit | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.