LLVM/project 2c57c89 — llvm/test/Analysis/CostModel/AArch64 arith-widening.ll, llvm/test/CodeGen/RISCV qci-interrupt-attr.ll
Merge branch 'main' of https://github.com/llvm/llvm-project into remove-old-res-middle
Delta | File |
---|
+2,099 | -2,096 | llvm/test/MC/AMDGPU/gfx12_asm_sop2.s |
+2,053 | -2,052 | llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop2.txt |
+1,434 | -1,828 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll |
+2,915 | -0 | llvm/test/CodeGen/RISCV/qci-interrupt-attr.ll |
+1,434 | -1,418 | llvm/test/MC/AMDGPU/gfx12_asm_sop1.s |
+940 | -1,896 | llvm/test/Analysis/CostModel/AArch64/arith-widening.ll |
+10,875 | -9,290 | 2,274 files not shown |
+97,298 | -62,357 | 2,280 files |
LLVM/project ed3f871 — llvm/test/Analysis/CostModel/AArch64 arith-widening.ll, llvm/test/CodeGen/RISCV/rvv fixed-vectors-cttz-vp.ll
Merge branch 'main' into users/vitalybuka/spr/ir-optimize-cfi-in-writecombinedglobalvaluesummary
Delta | File |
---|
+2,099 | -2,096 | llvm/test/MC/AMDGPU/gfx12_asm_sop2.s |
+2,053 | -2,052 | llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop2.txt |
+1,434 | -1,828 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll |
+1,434 | -1,418 | llvm/test/MC/AMDGPU/gfx12_asm_sop1.s |
+940 | -1,896 | llvm/test/Analysis/CostModel/AArch64/arith-widening.ll |
+1,240 | -1,230 | llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt |
+9,200 | -10,520 | 1,240 files not shown |
+47,494 | -33,145 | 1,246 files |
LLVM/project 397c487 — llvm/test/CodeGen/AMDGPU global_atomics_scan_fadd.ll global_atomics_scan_fsub.ll, llvm/test/CodeGen/RISCV/rvv fixed-vectors-cttz-vp.ll
Merge remote-tracking branch 'origin/main' into users/ccc03-08-_astmatcher_templateargumentcountis_support_functiondecl_
Delta | File |
---|
+1,434 | -1,828 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll |
+1,246 | -1,246 | llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll |
+1,246 | -1,246 | llvm/test/CodeGen/AMDGPU/global_atomics_scan_fsub.ll |
+1,214 | -1,214 | llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll |
+1,214 | -1,214 | llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll |
+726 | -1,509 | llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll |
+7,080 | -8,257 | 1,023 files not shown |
+37,140 | -28,442 | 1,029 files |
Reland: [clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[8 lines not shown]
Revert "[clang] Implement instantiation context note for checking template parameters (#126088)"
This reverts commit a24523ac8dc07f3478311a5969184b922b520395.
This is causing significant compile-time regressions for C++ code, see:
https://github.com/llvm/llvm-project/pull/126088#issuecomment-2704874202
LLVM/project 7dc7264 — llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2bf16.v8bf16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll
Merge branch 'main' into users/ylzsx/r-tls-noie
Delta | File |
---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+29,745 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+27,655 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+27,655 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+27,139 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+25,933 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2p3.v8p3.ll |
+203,722 | -0 | 16,100 files not shown |
+2,040,184 | -604,855 | 16,106 files |
LLVM/project 33f623d — llvm/test/CodeGen/AMDGPU vni8-across-blocks.ll shufflevector-physreg-copy.ll, llvm/test/CodeGen/RISCV qci-interrupt-attr.ll qci-interrupt-attr-fpr.ll
Merge branch 'main' into users/kparzysz/spr/o02-metadirective-flush
LLVM/project 2ff290b — llvm/test/CodeGen/RISCV xqccmp-push-pop-popret.ll qci-interrupt-attr.ll, llvm/test/CodeGen/X86 vector-interleaved-store-i16-stride-7.ll vector-interleaved-store-i8-stride-7.ll
Rebase
Created using spr 1.3.5
Delta | File |
---|
+3,951 | -0 | llvm/test/CodeGen/RISCV/xqccmp-push-pop-popret.ll |
+3,860 | -0 | llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-ld1.ll |
+1,746 | -1,734 | llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll |
+1,532 | -1,534 | llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-7.ll |
+2,927 | -0 | llvm/test/CodeGen/RISCV/qci-interrupt-attr.ll |
+2,821 | -0 | llvm/test/CodeGen/RISCV/qci-interrupt-attr-fpr.ll |
+16,837 | -3,268 | 1,830 files not shown |
+73,594 | -27,591 | 1,836 files |
[clang] Implement instantiation context note for checking template parameters (#126088)
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss, this
patch adds a new instantiation context note, so that this can work using
RAII magic.
This fixes a bunch of places where these notes were missing, and is more
future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time and
the decrease in maintenance burden makes up for it.
[5 lines not shown]
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project e094d95 — clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/drs cwg0xx.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project ae8b23b — clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/drs cwg0xx.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project 4a2467a — clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/drs cwg0xx.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project 3179a53 — clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/temp/temp.decls/temp.variadic fixed-expansion.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project ce343a5 — clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp, clang/test/CXX/temp/temp.decls/temp.variadic fixed-expansion.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project ad22130 — clang/lib/Frontend FrontendActions.cpp, clang/lib/Sema SemaTemplate.cpp SemaTemplateInstantiate.cpp
[clang] Implement evaluation context for checking template parameters
Instead of manually adding a note pointing to the relevant template
parameter to every relevant error, which is very easy to miss,
this patch adds a new instantiation context note, so that this
can work using RAII magic.
This fixes a bunch of places where these notes were missing, and is
more future-proof.
Some diagnostics are reworked to make better use of this note:
- Errors about missing template arguments now refer to the parameter
which is missing an argument.
- Template Template parameter mismatches now refer to template
parameters as parameters instead of arguments.
It's likely this will add the note to some diagnostics where the
parameter is not super relevant, but this can be reworked with time
and the decrease in maintenance burden makes up for it.
[6 lines not shown]
LLVM/project ad220d9 — clang/test/OpenMP target_teams_distribute_parallel_for_simd_schedule_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp, llvm/test/CodeGen/X86 large-gep-chain.ll
Merge commit 'e2d1e2183a9615c669392eefcfe632cc0b59a649' into users/meinersbur/irbuilder-extract
Delta | File |
---|
+0 | -116,484 | llvm/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt |
+0 | -115,677 | llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt |
+0 | -98,954 | llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt |
+25,277 | -25,277 | llvm/test/CodeGen/X86/large-gep-chain.ll |
+9,540 | -24,668 | clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp |
+9,364 | -24,292 | clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp |
+44,181 | -405,352 | 42,672 files not shown |
+3,761,432 | -2,721,703 | 42,678 files |
LLVM/project cb8dae6 — llvm/include/llvm/IR IntrinsicsX86.td, llvm/test/MC/AArch64/SME2 mova.s
Merge branch 'main' into HEAD
Delta | File |
---|
+6,177 | -0 | third-party/unittest/googletest/src/gtest.cc |
+0 | -6,177 | llvm/utils/unittest/googletest/src/gtest.cc |
+3,046 | -2,678 | llvm/include/llvm/IR/IntrinsicsX86.td |
+17 | -5,689 | llvm/test/MC/AMDGPU/gfx11_asm_vop3.s |
+5,521 | -0 | llvm/test/MC/AArch64/SME2/mova.s |
+1 | -5,123 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt |
+14,762 | -19,667 | 4,315 files not shown |
+198,948 | -112,026 | 4,321 files |
LLVM/project ab11408 — clang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplate.cpp SemaTemplateDeduction.cpp
[clang] Instantiate NTTPs and template default arguments with sugar
This makes use of the changes introduced in D134604, in order to
instantiate non-type template parameters and default template arguments
with a final sugared substitution.
This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136564
LLVM/project bf07c33 — clang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplate.cpp SemaTemplateDeduction.cpp
Revert "[clang] Instantiate NTTPs and template default arguments with sugar"
This patch reverts
- commit d4b1964f0554046b1e64908e5c1cd701b25f4c9e
- commit 59f0827e2cf3755834620e7e0b6d946832440f80([clang] Instantiate alias templates with sugar)
As it makes clang fail to pass some code it used to compile.
See comments: https://reviews.llvm.org/D136564#3891065
LLVM/project d4b1964 — clang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplate.cpp SemaTemplateDeduction.cpp
[clang] Instantiate NTTPs and template default arguments with sugar
This makes use of the changes introduced in D134604, in order to
instantiate non-type template parameters and default template arguments
with a final sugared substitution.
This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136564
LLVM/project a88ebd4 — clang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplate.cpp SemaTemplateDeduction.cpp
Revert "[clang] Instantiate NTTPs and template default arguments with sugar"
This reverts commit 2560c1266993af6e6c15900ce673c6db23132f8b.
LLVM/project 2560c12 — clang/include/clang/Sema Sema.h, clang/lib/Sema SemaTemplate.cpp SemaTemplateDeduction.cpp
[clang] Instantiate NTTPs and template default arguments with sugar
This makes use of the changes introduced in D134604, in order to
instantiate non-type template parameters and default template arguments
with a final sugared substitution.
This comes at no additional relevant cost.
Since we don't track / unique them in specializations, we wouldn't be
able to resugar them later anyway.
Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>
Differential Revision: https://reviews.llvm.org/D136564
LLVM/project e7f3e21 — clang/include/clang/AST Type.h PrettyPrinter.h, clang/lib/AST TypePrinter.cpp DeclTemplate.cpp
Suppress printing template arguments that match default template
arguments of types by default.
This somewhat improves the worst-case printing of types like
std::string, std::vector, etc., where many irrelevant default arguments
can be included in the type as printed if we've lost the type sugar.
LLVM/project 792c22d — clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/AST DeclTemplate.cpp
When producing a name of a partial specialization in a diagnostic, use the
template arguments as written rather than the canonical template arguments,
so we print more user-friendly names for template parameters.
llvm-svn: 290483
3.2 release branch r167713
llvm-svn: 167713
llvm-svn: 167708
llvm-svn: 167707
llvm-svn: 167706
llvm-svn: 167704
Delta | File |
---|
+29,647 | -0 | libcxxabi/test/test_demangle.cpp |
+26,245 | -0 | libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp |
+24,676 | -0 | clang/test/Analysis/retain-release.m |
+17,887 | -0 | libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp |
+13,619 | -0 | lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp |
+11,985 | -0 | clang/lib/Sema/SemaExpr.cpp |
+124,059 | -0 | 13,815 files not shown |
+2,122,455 | -0 | 13,821 files |
LLVM/project e8a1be6 — clang/test/Analysis retain-release.m, libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members put_long_double.pass.cpp
3.2 release branch r167700
llvm-svn: 167701
Delta | File |
---|
+0 | -93,319 | llvm/test/MC/ELF/many-section.s |
+0 | -29,647 | libcxxabi/test/test_demangle.cpp |
+0 | -26,245 | libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp |
+0 | -24,676 | clang/test/Analysis/retain-release.m |
+0 | -22,700 | llvm/configure |
+0 | -22,312 | llvm/projects/sample/configure |
+0 | -218,899 | 24,136 files not shown |
+0 | -3,905,343 | 24,142 files |
LLVM/project 53fa049 — clang/lib/AST TypePrinter.cpp, clang/test/CXX/temp/temp.arg/temp.arg.nontype p5.cpp
make clang print types as "const int *" instead of "int const*",
which is should have done from the beginning. As usual, the most
fun with this sort of change is updating all the testcases.
llvm-svn: 113090