LLVM/project 7dc7264 — llvm/test/CodeGen/AMDGPU shufflevector.v2i64.v8i64.ll shufflevector.v2f16.v8f16.ll, llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites long-spec-const-composite.ll
Merge branch 'main' into users/ylzsx/r-tls-noie
Merge branch 'main' into users/ylzsx/r-tls-noie
Merge branch 'main' into users/meinersbur/flang_runtime_premerge
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,194 | -3,880 | llvm/test/CodeGen/AMDGPU/bf16.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll |
+309 | -5,049 | lldb/tools/lldb-dap/lldb-dap.cpp |
+90,138 | -8,929 | 5,013 files not shown |
+307,445 | -100,302 | 5,019 files |
rebase Created using spr 1.3.5-bogner
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,194 | -3,880 | llvm/test/CodeGen/AMDGPU/bf16.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll |
+5,680 | -0 | llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll |
+309 | -5,049 | lldb/tools/lldb-dap/lldb-dap.cpp |
+90,138 | -8,929 | 4,327 files not shown |
+283,321 | -85,441 | 4,333 files |
Merge branch 'users/chapuni/mcdc/nest/nest-base' into users/chapuni/mcdc/nest/trunk
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+102,453 | -36,858 | 10,567 files not shown |
+953,290 | -609,134 | 10,573 files |
Merge branch 'users/chapuni/mcdc/nest/bitmapaddr' into users/chapuni/mcdc/nest/nest-base Conflicts: clang/test/CoverageMapping/mcdc-single-cond.cpp
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+102,453 | -36,858 | 10,567 files not shown |
+953,290 | -609,134 | 10,573 files |
Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/bitmapaddr
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+102,453 | -36,858 | 10,567 files not shown |
+953,323 | -609,042 | 10,573 files |
Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/mcdcstate
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+102,453 | -36,858 | 10,567 files not shown |
+953,323 | -609,042 | 10,573 files |
Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/lnot
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+102,453 | -36,858 | 10,566 files not shown |
+953,289 | -609,129 | 10,572 files |
Merge branch 'users/chapuni/mcdc/nest/tests' into users/chapuni/mcdc/nest/expect
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+102,453 | -36,858 | 10,566 files not shown |
+953,289 | -609,129 | 10,572 files |
Merge branch 'main' into users/chapuni/mcdc/nest/tests
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+102,453 | -36,858 | 10,565 files not shown |
+953,289 | -609,032 | 10,571 files |
run 'git merge main'
Delta | File | |
---|---|---|
+65,595 | -0 | llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_long_composites/long-spec-const-composite.ll |
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+102,453 | -36,858 | 8,560 files not shown |
+809,659 | -558,257 | 8,566 files |
fix order Created using spr 1.3.4
Delta | File | |
---|---|---|
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+43,825 | -43,825 | 7,407 files not shown |
+681,199 | -531,648 | 7,413 files |
[𝘀𝗽𝗿] changes introduced through rebase Created using spr 1.3.4 [skip ci]
Delta | File | |
---|---|---|
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+43,825 | -43,825 | 7,401 files not shown |
+681,165 | -531,621 | 7,407 files |
Rebase Created using spr 1.3.5
Delta | File | |
---|---|---|
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+43,825 | -43,825 | 4,283 files not shown |
+513,606 | -420,700 | 4,289 files |
rebase Created using spr 1.3.4
Delta | File | |
---|---|---|
+7,782 | -7,782 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+43,825 | -43,825 | 4,198 files not shown |
+510,585 | -434,236 | 4,204 files |
refactor Created using spr 1.3.4
Delta | File | |
---|---|---|
+30,641 | -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.v2i32.v8i32.ll |
+25,933 | -0 | llvm/test/CodeGen/AMDGPU/shufflevector.v2p3.v8p3.ll |
+164,956 | -0 | 15,561 files not shown |
+1,914,489 | -576,768 | 15,567 files |
Address @DavidSpickett's comment Created using spr 1.3.5-bogner
Delta | File | |
---|---|---|
+7,513 | -7,513 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll |
+7,427 | -7,427 | llvm/test/CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll |
+7,255 | -7,255 | llvm/test/CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4p0.v4p0.ll |
+6,967 | -6,967 | llvm/test/CodeGen/AMDGPU/shufflevector.v4i64.v4i64.ll |
+43,556 | -43,556 | 6,429 files not shown |
+608,030 | -497,429 | 6,435 files |
Merge branch 'main' of https://github.com/llvm/llvm-project into cbuffer-codegen5
Delta | File | |
---|---|---|
+2,056 | -2,666 | llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll |
+0 | -1,578 | flang/runtime/io-stmt.cpp |
+1,578 | -0 | flang-rt/lib/runtime/io-stmt.cpp |
+1,319 | -0 | flang-rt/lib/runtime/io-api.cpp |
+0 | -1,319 | flang/runtime/io-api.cpp |
+1,179 | -0 | flang-rt/lib/runtime/edit-input.cpp |
+6,132 | -5,563 | 1,870 files not shown |
+88,340 | -65,194 | 1,876 files |
Rebase, address comments, remove some extra graph-related code Created using spr 1.3.5
Delta | File | |
---|---|---|
+2,440 | -2,400 | llvm/test/CodeGen/RISCV/atomic-rmw.ll |
+2,056 | -2,666 | llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll |
+1,891 | -2,097 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-fp-vp.ll |
+1,632 | -1,586 | llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll |
+2,330 | -0 | libc/test/src/time/strftime_test.cpp |
+861 | -804 | llvm/test/CodeGen/RISCV/rvv/expandload.ll |
+11,210 | -9,553 | 2,508 files not shown |
+128,915 | -94,898 | 2,514 files |
rebase Created using spr 1.3.4
Delta | File | |
---|---|---|
+2,440 | -2,400 | llvm/test/CodeGen/RISCV/atomic-rmw.ll |
+1,990 | -2,598 | llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll |
+1,891 | -2,097 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-fp-vp.ll |
+1,632 | -1,586 | llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll |
+2,330 | -0 | libc/test/src/time/strftime_test.cpp |
+861 | -804 | llvm/test/CodeGen/RISCV/rvv/expandload.ll |
+11,144 | -9,485 | 2,423 files not shown |
+127,695 | -92,793 | 2,429 files |
Merge branch 'main' into obj2yaml/root-constants
Delta | File | |
---|---|---|
+1,990 | -2,598 | llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll |
+2,330 | -0 | libc/test/src/time/strftime_test.cpp |
+1,578 | -0 | flang-rt/lib/runtime/io-stmt.cpp |
+0 | -1,578 | flang/runtime/io-stmt.cpp |
+0 | -1,319 | flang/runtime/io-api.cpp |
+1,319 | -0 | flang-rt/lib/runtime/io-api.cpp |
+7,217 | -5,495 | 1,535 files not shown |
+81,897 | -59,964 | 1,541 files |
[PGO] Fix incorrect count threshold calculation when 0% cutoff (#117359) DefaultCutoffsData does not have an entry for the 0th percentile. As a result, when the getEntryForPercentile method is called with a percentile argument of 0, it returns a ProfileSummaryEntry for the 1st percentile instead. This behavior affects the threshold calculations, such as getHotCountThreshold, causing them to incorrectly identify some sample profile counts as hot when they should not be. This patch addresses the issue by handling the 0th percentile case in the getEntryForPercentile method. This ensures that when the -profile-summary-cutoff-hot (or -cold) option is set to 0, no sample counts are treated as hot (or all sample counts are treated as cold).
Delta | File | |
---|---|---|
+9 | -0 | llvm/lib/ProfileData/ProfileSummaryBuilder.cpp |
+8 | -0 | llvm/test/Analysis/ProfileSummary/basic.ll |
+17 | -0 | 2 files |
Merge commit 'dd699c1333daeaea1c50c1506a66e9c7372afbb5' into users/meinersbur/irbuilder-extract
Delta | File | |
---|---|---|
+119,926 | -0 | libc/src/__support/ryu_long_double_constants.h |
+20,887 | -20,814 | llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp |
+34,181 | -35 | clang/test/OpenMP/atomic_compare_codegen.cpp |
+12,436 | -12,678 | clang/test/OpenMP/nvptx_SPMD_codegen.cpp |
+16,298 | -0 | llvm/test/CodeGen/X86/pcsections-atomics.ll |
+12,455 | -3,587 | llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll |
+216,183 | -37,114 | 41,232 files not shown |
+4,417,032 | -1,979,316 | 41,238 files |
Merge commit '7fa2a83d1d18b49255e10e63bc7fead72026285b' into users/meinersbur/irbuilder-extract
Delta | File | |
---|---|---|
+11,062 | -82 | llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll |
+10,486 | -0 | llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s |
+0 | -10,486 | llvm/test/MC/AMDGPU/gfx11_asm_vop3c.s |
+0 | -6,852 | llvm/test/MC/AMDGPU/gfx11_asm_vop3c_dpp16.s |
+6,852 | -0 | llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16_from_vopc.s |
+2,786 | -2,786 | llvm/test/MC/AMDGPU/gfx90a_ldst_acc.s |
+31,186 | -20,206 | 9,366 files not shown |
+434,337 | -216,292 | 9,372 files |
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 |
Merge commit '41d5033eb162cb92b684855166cabfa3983b74c6^' into users/meinersbur/irbuilder-extract
Delta | File | |
---|---|---|
+10,406 | -0 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt |
+9,868 | -0 | llvm/test/MC/AMDGPU/gfx11_asm_scalar.s |
+3,604 | -3,574 | libcxxabi/test/test_demangle.pass.cpp |
+5,011 | -0 | clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp |
+4,830 | -0 | llvm/test/CodeGen/ARM/aes-erratum-fix.ll |
+4,310 | -0 | llvm/test/MC/AMDGPU/gfx11_mubuf.s |
+38,029 | -3,574 | 11,952 files not shown |
+520,467 | -222,189 | 11,958 files |
Merge commit '6942c64e8128e4ccd891b813d0240f574f80f59e^' into users/meinersbur/irbuilder-extract-refactor
Delta | File | |
---|---|---|
+119,926 | -0 | libc/src/__support/ryu_long_double_constants.h |
+20,887 | -20,814 | llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp |
+34,181 | -35 | clang/test/OpenMP/atomic_compare_codegen.cpp |
+12,436 | -12,678 | clang/test/OpenMP/nvptx_SPMD_codegen.cpp |
+16,298 | -0 | llvm/test/CodeGen/X86/pcsections-atomics.ll |
+12,455 | -3,587 | llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll |
+216,183 | -37,114 | 41,232 files not shown |
+4,417,032 | -1,979,316 | 41,238 files |
erge commit '343de6856e16b58bcbd16d479fc633f54e22fadc^' into users/meinersbur/irbuilder-extract-refactor
Delta | File | |
---|---|---|
+11,062 | -82 | llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll |
+0 | -10,486 | llvm/test/MC/AMDGPU/gfx11_asm_vop3c.s |
+10,486 | -0 | llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s |
+0 | -6,852 | llvm/test/MC/AMDGPU/gfx11_asm_vop3c_dpp16.s |
+6,852 | -0 | llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16_from_vopc.s |
+2,786 | -2,786 | llvm/test/MC/AMDGPU/gfx90a_ldst_acc.s |
+31,186 | -20,206 | 9,363 files not shown |
+434,240 | -216,263 | 9,369 files |
[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed using MD5 as key to Sample Profile map This is phase 1 of multiple planned improvements on the sample profile loader. The major change is to use MD5 hash code ((instead of the function itself) as the key to look up the function offset table and the profiles, which significantly reduce the time it takes to construct the map. The optimization is based on the fact that many practical sample profiles are using MD5 values for function names to reduce profile size, so we shouldn't need to convert the MD5 to a string and then to a SampleContext and use it as the map's key, because it's extremely slow. Several changes to note: (1) For non-CS SampleContext, if it is already MD5 string, the hash value will be its integral value, instead of hashing the MD5 again. In phase 2 this is going to be optimized further using a union to represent MD5 function (without converting it to string) and regular function names. (2) The SampleProfileMap is a wrapper to *map<uint64_t, FunctionSamples>, while providing interface allowing using SampleContext as key, so that existing code still work. It will check for MD5 collision (unlikely but not too unlikely, since we only takes the lower 64 bits) and handle it to at least guarantee compilation correctness (conflicting old profile is dropped, instead of returning an old profile with inconsistent context). Other code should not try to use MD5 as key to access the map directly, because it will not be able to handle MD5 collision at all. (see exception at (5) ) (3) Any SampleProfileMap::emplace() followed by SampleContext assignment if newly inserted, should be replaced with SampleProfileMap::Create(), which does the same thing. (4) Previously we ensure an invariant that in SampleProfileMap, the key is equal to the Context of the value, for profile map that is eventually being used for output (as in llvm-profdata/llvm-profgen). Since the key became MD5 hash, only the value keeps the context now, in several places where an intermediate SampleProfileMap is created, each new FunctionSample's context is set immediately after insertion, which is necessary to "remember" the context otherwise irretrievable. (5) When reading a profile, we cache the MD5 values of all functions, because they are used at least twice (one to index into FuncOffsetTable, the other into SampleProfileMap, more if there are additional sections), in this case the SampleProfileMap is directly accessed with MD5 value so that we don't recalculate it each time (expensive) Performance impact: [5 lines not shown]
Revert "[llvm-profdata] Refactoring Sample Profile Reader to increase FDO build speed using MD5 as key to Sample Profile map" This reverts commit 66ba71d913df7f7cd75e92c0c4265932b7c93292. Addressing issues found by: https://lab.llvm.org/buildbot/#/builders/245/builds/11732 https://lab.llvm.org/buildbot/#/builders/187/builds/12251 https://lab.llvm.org/buildbot/#/builders/186/builds/11099 https://lab.llvm.org/buildbot/#/builders/182/builds/6976