https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/159784
Add a filter command to llvm-remarkutil. This can be used to extract
remarks for a certain function, pass, type, etc. from a large remarks
file to a new remarks file. This uses the same filter arguments as
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/159759
YAML IO `mapRequired` expects a null-terminated `const char *` Key, so
we can't legally pass a StringRef to it. We should add StringRef Key
support to YAML IO, but for now just copy the key into a correctl
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156715
>From d33b31f01aeeb9005581b0a2a1f21c898463aa02 Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Thu, 18 Sep 2025 12:34:55 +0100
Subject: [PATCH 1/3] Replace bitstream blobs by yaml
Created using spr 1
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156715
>From d33b31f01aeeb9005581b0a2a1f21c898463aa02 Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Thu, 18 Sep 2025 12:34:55 +0100
Subject: [PATCH 1/2] Replace bitstream blobs by yaml
Created using spr 1
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156715
>From d33b31f01aeeb9005581b0a2a1f21c898463aa02 Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Thu, 18 Sep 2025 12:34:55 +0100
Subject: [PATCH] Replace bitstream blobs by yaml
Created using spr 1.3.7
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156357
>From e3951bca5a4a5c169975f13faa679a761455976a Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Mon, 1 Sep 2025 19:02:32 +0100
Subject: [PATCH] fix format
Created using spr 1.3.7-wip
---
llvm/include
@@ -82,20 +82,26 @@ struct LLVMRemarkSetupFormatError
LLVMRemarkSetupFormatError>::LLVMRemarkSetupErrorInfo;
};
-/// Setup optimization remarks that output to a file.
+/// Setup optimization remarks that output to a file. The returned
+/// ToolOutputFile must be kept ope
@@ -256,14 +251,57 @@ Error BitstreamParserHelper::parseBlockInfoBlock() {
return Error::success();
}
-Error BitstreamParserHelper::advanceToMetaBlock() {
+Error BitstreamParserHelper::parseMeta() {
if (Error E = expectMagic())
return E;
if (Error E = parseBlockIn
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156715
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156715
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/156715
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
tobias-stadler wrote:
Until we figure out a better testing methodology for dsymutil, I'd like to land
this with the blob tests to unblock further work on the remarks infra.
https://github.com/llvm/llvm-project/pull/156715
__
tobias-stadler wrote:
It would be good to change the testing methodology here. Currently all the
dsymutil tests are blobs. We should be able to get remarks and .o files from
llc. However, we need to link the .o files into a binary. Do you know of a way
to do
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156511
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156511
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/156511
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156511
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156357
>From e3951bca5a4a5c169975f13faa679a761455976a Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Mon, 1 Sep 2025 19:02:32 +0100
Subject: [PATCH] fix format
Created using spr 1.3.7-wip
---
llvm/include
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/156715
Currently there are two serialization modes for bitstream Remarks:
standalone and separate. The separate mode splits remark metadata (e.g.
the string table) from actual remark data. The metadata is written
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/156511
In preparation of larger changes to the bitstream remark format,
refactor the error handling code in the BitstreamRemarkParser.
Main change: move the various static helper methods into the parser
helper c
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/156357
None
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/156357
>From e3951bca5a4a5c169975f13faa679a761455976a Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Mon, 1 Sep 2025 19:02:32 +0100
Subject: [PATCH] fix format
Created using spr 1.3.7-wip
---
llvm/include
https://github.com/tobias-stadler reopened
https://github.com/llvm/llvm-project/pull/145054
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler closed
https://github.com/llvm/llvm-project/pull/145054
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/145054
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
tobias-stadler wrote:
Oops, x86 has lower cost than AArch64. Thanks!
https://github.com/llvm/llvm-project/pull/145054
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/145054
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/144554
>From a428e237fcc52830549144bf3afdcddb29742b0d Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Mon, 16 Jun 2025 15:32:15 +0100
Subject: [PATCH 1/2] [Remarks] Auto-detect remark parser format
Add rema
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/144554
Add remark format 'Auto', which performs automatic detection of the remark
format using the magic numbers at the beginning of the remarks files.
The RemarkLinker already did something similar, so we stre
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/136739
>From e88a6e177837b478b4dc20def1b59f193b950965 Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Wed, 9 Apr 2025 13:32:02 +0100
Subject: [PATCH 1/2] [GlobalISel] Fix miscompile when narrowing vector
lo
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/136739
LegalizerHelper::reduceLoadStoreWidth does not work for non-byte-sized types,
because this would require (un)packing of bits across byte boundaries.
Precommit tests: #134904
>From e88a6e177837b478b4dc20
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102167
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102167
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -45,61 +45,190 @@ cl::OptionCategory GICombinerOptionCategory(
);
} // end namespace llvm
-/// This class acts as the glue the joins the CombinerHelper to the overall
+/// This class acts as the glue that joins the CombinerHelper to the overall
/// Combine algorithm. The C
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler updated
https://github.com/llvm/llvm-project/pull/102158
>From 1f5757a4c3989755623d66c43575c858dcb13f75 Mon Sep 17 00:00:00 2001
From: Tobias Stadler
Date: Tue, 6 Aug 2024 17:13:59 +0200
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
tobias-stadler wrote:
> Is this a fundamental issue of the combiner or do we have to revisit the
> situation when the combiner becomes slowly more powerful?
This is a fundamental issue of combiner-style algorithms. Fixed-point iteration
just burns too much compile-time for no good reason. Both
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102167
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102163
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/tobias-stadler edited
https://github.com/llvm/llvm-project/pull/102167
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -33,8 +33,7 @@ define noundef i1 @logger(i32 noundef %logLevel, ptr %ea, ptr
%pll) {
; CHECK-GI-NEXT:b.hi .LBB1_2
; CHECK-GI-NEXT: // %bb.1: // %land.rhs
; CHECK-GI-NEXT:ldr x8, [x1]
-; CHECK-GI-NEXT:ldrb w8, [x8]
-; CHECK-GI-NEXT:and w0, w8, #0x1
+; CHECK-
@@ -88,7 +95,8 @@ body: |
%cmp2:_(s32) = G_ICMP intpred(sge), %cmp_lhs(s64), %add
$w0 = COPY %cmp2(s32)
-RET_ReallyLR implicit $w0
+$w1 = COPY %cmp1(s32)
tobias-stadler wrote:
cmp1 was dead in the input IR, but according to the com
@@ -9,6 +9,8 @@ body: |
bb.1:
; CHECK-LABEL: name: crash_fn
; CHECK: [[C:%[0-9]+]]:_(p0) = G_CONSTANT i64 0
+; CHECK-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 0
+; CHECK-NEXT: [[C2:%[0-9]+]]:_(s1) = G_CONSTANT i1 false
tobias-st
@@ -257,10 +257,10 @@ define i32 @udiv_div_by_180(i32 %x)
;
; GISEL-LABEL: udiv_div_by_180:
; GISEL: // %bb.0:
-; GISEL-NEXT:uxtb w8, w0
-; GISEL-NEXT:mov w9, #5826 // =0x16c2
-; GISEL-NEXT:movk w9, #364, lsl #16
-; GISEL-NEXT:umull x8, w8, w9
+; GISEL-NEX
tobias-stadler wrote:
CTMark O0:
```
Program compile_instructions
size..text
base-O0 patch-O0
diff base-O0patch-O0 diff
7zip/7zip-benchmark
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/102167
Disable fixed-point iteration in all AArch64 Combiners after #102163.
See inline comments for justification of test changes.
___
llvm-branch-commits mailing l
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/102163
Continues the work for disabling fixed-point iteration in the Combiner
(#94291).
This introduces improved Observer-based heuristics in the
GISel Combiner to retry combining defs/uses of modified instructi
https://github.com/tobias-stadler created
https://github.com/llvm/llvm-project/pull/102158
Remove a hack from GISelWorkList caused by the Combiner removing
instructions from an unfinalized GISelWorkList during the DCE phase.
This is in preparation for larger changes to the WorkListMaintainer.
54 matches
Mail list logo