LLVM/project 25c6745 — utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 7abf97f (#249489)

This fixes 7abf97f3a16e188dbfd7e740e0c7538c3f85c847 (#214373).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=7abf97f3a16e188dbfd7e740e0c7538c3f85c847

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+11-4utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+11-41 files

LLVM/project 38dc175 — llvm/lib/Transforms/Scalar NaryReassociate.cpp, llvm/test/Transforms/NaryReassociate nary-gep.ll

[NaryReassociate] Enable IRBuilder GEP canonicalization (#249482)

Assisted-by: LLM
DeltaFile
+6-6llvm/test/Transforms/NaryReassociate/NVPTX/nary-gep.ll
+2-2llvm/test/Transforms/NaryReassociate/nary-gep.ll
+0-1llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+8-93 files

LLVM/project 03070f0 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer revec-shufflevector.ll

[𝘀𝗽𝗿] initial version

Created using spr 2.0.0-beta.1
DeltaFile
+76-0llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll
+4-5llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+80-52 files

FreeBSD/src ba5f4f4 — sys/net rss_config.c, sys/netinet6 in6_rss.c

rss: Accept the IPv6 hash types with extension headers

RSS defines _EX variants of the IPv6 hash types, which take the
addresses from a Home Address option or type 2 routing header when one
is present and are otherwise the same hash.  The default hash
configuration lists them, and em(4), igb(4), igc(4) and ix(4) program
the card accordingly.  An I226 then reports an _EX type for every IPv6
TCP packet, and for every IPv6 UDP packet when UDP ports are hashed.

rss_hash2cpuid(), rss_hash2bucket() and rss_mbuf_software_hash_v6() did
not accept the _EX types, so with options RSS and hybrid or deferred
dispatch, netisr hashed each of these packets again in software and got
the value the card had supplied.  Accept the _EX types wherever the
plain ones are accepted.

On an Atom C1110 with I226 ports forwarding IPv6, the software hash took
28% of the forwarding core and matched the card's hash for all 1.2
million TCP and UDP packets compared.  With this change toeplitz_hash()
ran 4 times in 603,600 packets, and one UDP flow went from 741 to 1086

    [10 lines not shown]
DeltaFile
+15-5sys/netinet6/in6_rss.c
+6-0sys/net/rss_config.c
+21-52 files

pkgng/pkgng 869d6c4 — mk static-lib.mk lib.mk

Silence distclean warnings by removing it

It is partially broken since DISTCLEAN_FILES is never populated
DeltaFile
+1-6mk/common.mk
+0-5mk/dir.mk
+1-3mk/prog.mk
+0-2mk/static-lib.mk
+0-2mk/lib.mk
+2-185 files

LLVM/project 372a14d — llvm/lib/Target/PISA/MCTargetDesc PISAInstPrinter.cpp

[PISA] Remove pisa-always-print-default-value CL option (#249479)

The option had no readers, so deletion is preferable to a TableGen port
under the https://discourse.llvm.org/t/help-wanted-from-library-maintainers-declaring-cl-options-in-tablegen/92742
DeltaFile
+0-6llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
+0-61 files

LLVM/project a21d819 — llvm/lib/Target/PISA PISAISelLowering.cpp PISACallLowering.cpp, llvm/test/CodeGen/PISA/GlobalISel legalizer-udiv128-sequence.mir

Revert "[4/7][PISA] Add PISA GlobalISel lowering, legalization and combiners" (#249484)

Reverts llvm/llvm-project#214373 due to build issues
DeltaFile
+0-3,560llvm/lib/Target/PISA/PISALegalizerInfo.cpp
+0-2,047llvm/lib/Target/PISA/PISAPostLegalizerCombiner.cpp
+0-1,705llvm/lib/Target/PISA/PISAPreLegalizerCombiner.cpp
+0-770llvm/lib/Target/PISA/PISACallLowering.cpp
+0-720llvm/lib/Target/PISA/PISAISelLowering.cpp
+0-515llvm/test/CodeGen/PISA/GlobalISel/legalizer-udiv128-sequence.mir
+0-9,31772 files not shown
+12-14,75478 files

LLVM/project 53e1919 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-unusual-vector-global.ll

Add a test for reportFatalUsageError
DeltaFile
+8-0llvm/test/CodeGen/PISA/asm-printer-unusual-vector-global.ll
+2-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+10-32 files

LLVM/project 8e38194 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA unreachable.ll store.ll

Fix issues raised in earlier PRs
DeltaFile
+111-93llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+11-0llvm/test/CodeGen/PISA/asm-printer-unsupported-vector-hint.ll
+3-3llvm/test/CodeGen/PISA/load.ll
+2-2llvm/test/CodeGen/PISA/unreachable.ll
+2-2llvm/test/CodeGen/PISA/store.ll
+2-2llvm/test/CodeGen/PISA/return.ll
+131-1026 files

LLVM/project 4b352d3 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Fixes
DeltaFile
+9-8llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+9-81 files

LLVM/project d644c4f — llvm/lib/Target/PISA CMakeLists.txt PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA unreachable.ll return.ll

Add PISA AsmPrinter

Add PISAAsmPrinter to complete the codegen pipeline with end-to-end code
emission.
DeltaFile
+933-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+352-0llvm/test/CodeGen/PISA/store.ll
+350-0llvm/test/CodeGen/PISA/load.ll
+37-0llvm/test/CodeGen/PISA/return.ll
+14-0llvm/test/CodeGen/PISA/unreachable.ll
+1-0llvm/lib/Target/PISA/CMakeLists.txt
+1,687-06 files

LLVM/project 6a88248 — llvm/lib/Target/PISA PISATargetMachine.cpp PISAOptimizeRedundantCopies.cpp, llvm/test/CodeGen/PISA asm-printer-fp-inline-asm.mir

Adjustments after rebase
DeltaFile
+16-1llvm/lib/Target/PISA/PISAOptimizeRedundantCopies.cpp
+0-2llvm/lib/Target/PISA/PISATargetMachine.cpp
+1-1llvm/test/CodeGen/PISA/asm-printer-fp-inline-asm.mir
+17-43 files

LLVM/project fb14006 — llvm/test/CodeGen/PISA asm-printer-unsupported-vector-hint-fp128.ll

Add asm-printer-unsupported-vector-hint-fp128.ll test
DeltaFile
+11-0llvm/test/CodeGen/PISA/asm-printer-unsupported-vector-hint-fp128.ll
+11-01 files

LLVM/project 0296489 — llvm/test/CodeGen/PISA asm-printer-special-globals.ll

Add asm-printer-special-globals.ll to test isIgnoredIntrinsicGlobal
DeltaFile
+48-0llvm/test/CodeGen/PISA/asm-printer-special-globals.ll
+48-01 files

LLVM/project 7147cfb — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-annotation-globals.ll

Remove the user scan and add a test
DeltaFile
+19-0llvm/test/CodeGen/PISA/asm-printer-annotation-globals.ll
+0-18llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+19-182 files

LLVM/project 6878250 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Document why AsmPrinter::emitGlobalConstant is not used
DeltaFile
+4-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+4-01 files

LLVM/project 9d7a288 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Inline comparison into the assertion
DeltaFile
+3-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+3-31 files

LLVM/project 2619dc1 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Add file headers
DeltaFile
+5-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+5-01 files

LLVM/project b28f0c4 — llvm/test/CodeGen/PISA load.ll

Remove -verify-machineinstr
DeltaFile
+2-3llvm/test/CodeGen/PISA/load.ll
+2-31 files

LLVM/project e5cadd4 — llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-fp-inline-asm.mir

Fix printing FP immediates
DeltaFile
+23-0llvm/test/CodeGen/PISA/asm-printer-fp-inline-asm.mir
+9-2llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+32-22 files

LLVM/project 38b1ad3 — llvm/lib/Target/PISA PISAAsmPrinter.cpp

Formatting fix
DeltaFile
+2-1llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+2-11 files

LLVM/project 548ed0e — llvm/lib/Target/PISA PISATargetMachine.cpp PISAInstructionSelector.cpp

Adjustments after rebase
DeltaFile
+4-3llvm/lib/Target/PISA/PISAInstructionSelector.cpp
+1-1llvm/lib/Target/PISA/PISATargetMachine.cpp
+5-42 files

LLVM/project b6eaccf — llvm/lib/Target/PISA PISAInstructionSelector.cpp, llvm/test/CodeGen/PISA/GlobalISel inst-select-unknown-fence.ll

Use MI.emitGenericError for an unsupported fence syncscope
DeltaFile
+21-0llvm/test/CodeGen/PISA/GlobalISel/inst-select-unknown-fence.ll
+4-2llvm/lib/Target/PISA/PISAInstructionSelector.cpp
+25-22 files

LLVM/project ca7a640 — llvm/lib/Target/PISA PISAEmitIntrinsics.cpp

Replaced iterator loops with drop_end range loops
DeltaFile
+5-6llvm/lib/Target/PISA/PISAEmitIntrinsics.cpp
+5-61 files

LLVM/project 51ad819 — llvm/lib/Target/PISA PISAScopeSelector.cpp

Add mising include
DeltaFile
+1-0llvm/lib/Target/PISA/PISAScopeSelector.cpp
+1-01 files

LLVM/project 0e9f046 — llvm/lib/Target/PISA PISALegalizeCalls.cpp

Simplify, remove redundant comment
DeltaFile
+10-14llvm/lib/Target/PISA/PISALegalizeCalls.cpp
+10-141 files

LLVM/project 5dedade — llvm/lib/Target/PISA PISAKernelByValArgsLowering.cpp

Formatting fix
DeltaFile
+4-3llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
+4-31 files

LLVM/project 438087d — llvm/lib/Target/PISA PISALegalizeSubregAccess.cpp PISALegalizeCalls.cpp

Add PISA codegen pipeline and lowering passes

Add the IR- and MIR-level passes that make up the PISA code generation
pipeline and wire them into PISAPassConfig in PISATargetMachine:

- Intrinsic handling: PISAEmitIntrinsics, PISAExpandIntrinsics,
    PISAReplaceIntrinsics
- Call/ABI lowering: PISALegalizeCalls, PISAKernelByValArgsLowering
- IR preparation: PISAPropagateNullPointers, PISALayout, PISAConstProp
- Legalization/verification: PISALegalizePredicates, PISAVerifyTypes,
    PISAVerifier
- Post-selection: PISAScopeSelector, PISACacheHintSelector,
    PISALegalizeSubregAccess, PISAOptimizeSubregAccess,
    PISAOptimizeRedundantCopies, PISAMarkConvergentNoMerge,
    PISAInsertLifetimeStart

PISAPassConfig now overrides the GlobalISel and pre/post-regalloc hooks
to run these passes, disables the machine passes that assume physical
registers, and runs the load/store vectorizer and atomic expansion in

    [4 lines not shown]
DeltaFile
+994-0llvm/lib/Target/PISA/PISALegalizePredicates.cpp
+751-0llvm/lib/Target/PISA/PISAInsertLifetimeStart.cpp
+581-0llvm/lib/Target/PISA/PISALayout.cpp
+565-0llvm/lib/Target/PISA/PISAEmitIntrinsics.cpp
+505-0llvm/lib/Target/PISA/PISALegalizeCalls.cpp
+435-0llvm/lib/Target/PISA/PISALegalizeSubregAccess.cpp
+3,831-021 files not shown
+6,216-5927 files

LLVM/project 45fc742 — llvm/lib/Target/PISA PISAInstructionSelector.cpp

Add getAPFloatFromSize helper
DeltaFile
+14-0llvm/lib/Target/PISA/PISAInstructionSelector.cpp
+14-01 files

LLVM/project d5fc876 — llvm/lib/Target/PISA PISAInsertLifetimeStart.cpp PISAExpandIntrinsics.cpp

Do not provide file name in the header
DeltaFile
+1-1llvm/lib/Target/PISA/PISAInsertLifetimeStart.cpp
+1-1llvm/lib/Target/PISA/PISAExpandIntrinsics.cpp
+1-1llvm/lib/Target/PISA/PISAEmitIntrinsics.cpp
+1-1llvm/lib/Target/PISA/PISAConstProp.h
+1-1llvm/lib/Target/PISA/PISAConstProp.cpp
+1-1llvm/lib/Target/PISA/PISACacheHintSelector.cpp
+6-614 files not shown
+20-2020 files