[all-commits] [llvm/llvm-project] 50ba8b: [RISCV][NFC] Remove direct access to FeatureKV (#2...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Jun 27 08:58:27 PDT 2026


  Branch: refs/heads/revert-205399-revert-149886-slashy
  Home:   https://github.com/llvm/llvm-project
  Commit: 50ba8b21ff6fd29888b2f1533ead082a93103ef2
      https://github.com/llvm/llvm-project/commit/50ba8b21ff6fd29888b2f1533ead082a93103ef2
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp

  Log Message:
  -----------
  [RISCV][NFC] Remove direct access to FeatureKV (#206233)

This is preparatory work for changing the representation of
FeatureKV/SubTypeKV, in which they will no longer be that easily
accessible as global variables. Therefore, get them from the subtarget
instead.


  Commit: b23ba298af84d56be149350bf617dc869c1fb42c
      https://github.com/llvm/llvm-project/commit/b23ba298af84d56be149350bf617dc869c1fb42c
  Author: SUBASH BOOPATHI <98462377+SubashBoopathi1605 at users.noreply.github.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/and-fcmp.ll
    M llvm/test/Transforms/InstCombine/or-fcmp.ll

  Log Message:
  -----------
  [InstCombine] Optimize fcmp ord/uno logical select operations using freeze (#205076)

This pull request optimizes logical select sequences checking ordered or
unordered floating point operations.

Currently, InstCombine canonicalizes:

fcmp ord x, 0.0 AND fcmp ord y, 0.0 to fcmp ord x, y
fcmp uno x, 0.0 OR fcmp uno y, 0.0 to fcmp uno x, y
However, this canonicalization is blocked for logical selects because it
is not poison safe if the second operand evaluates to poison when the
first evaluates to NaN.

This patch enables the transformation for logical selects by inserting a
freeze on the second evaluated operand to guarantee poison safety.

Fixes #49175


  Commit: 44de29c6b94391626674b8b272f30a71575c28f4
      https://github.com/llvm/llvm-project/commit/44de29c6b94391626674b8b272f30a71575c28f4
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Support/GlobPattern.h
    M llvm/lib/Support/GlobPattern.cpp
    M llvm/unittests/Support/GlobPatternTest.cpp

  Log Message:
  -----------
  Reland: [NFC][Support] Implement slash-agnostic path matching in GlobPattern (#206251)

Add a SlashAgnostic option to GlobPattern to allow matching path
separators
(both forward slashes and backslashes) agnostically.

When enabled:
- We conservatively reduce the plain prefix and suffix by treating path
  separators as metacharacters. This ensures that path separators are
  matched via the slash-agnostic state machine rather than plain string
  comparison.
- Brackets containing slashes are adjusted to match both separators.
- Character comparisons in the state machine (matchChar) treat '/' and
  '\' as equivalent.

For #149886.

Reland of #202854 incorrectly reverted in #205409.
https://github.com/llvm/llvm-project/pull/202854#issuecomment-4813462549

Co-authored-by: Devon Loehr <DKLoehr at users.noreply.github.com>

Assisted-by: Gemini


  Commit: 27c7a6bc15b3040fbb299aace2075251b157203d
      https://github.com/llvm/llvm-project/commit/27c7a6bc15b3040fbb299aace2075251b157203d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    A llvm/test/CodeGen/X86/vector-reduce-add-subvector.ll

  Log Message:
  -----------
  [X86] Add vector-reduce-add-subvector.ll - tests for partial reduction of single vector source (#206256)


  Commit: ad35cfed2d2bd8a373ced8bd7d91e1505ba99d17
      https://github.com/llvm/llvm-project/commit/ad35cfed2d2bd8a373ced8bd7d91e1505ba99d17
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp

  Log Message:
  -----------
  [AggressiveInstCombine] Factor out the beginning of foldSelectSplitCTTZ/CTLZ into common entry point. NFC (#206220)

Both start by matching a select and a eq/ne compare with 0.

Assisted-by: claude


  Commit: b61a41c554a9051703308f22e5f1ca19cb6275d4
      https://github.com/llvm/llvm-project/commit/b61a41c554a9051703308f22e5f1ca19cb6275d4
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Support/GlobPattern.h
    M llvm/lib/Support/GlobPattern.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    A llvm/test/CodeGen/X86/vector-reduce-add-subvector.ll
    M llvm/test/Transforms/InstCombine/and-fcmp.ll
    M llvm/test/Transforms/InstCombine/or-fcmp.ll
    M llvm/unittests/Support/GlobPatternTest.cpp

  Log Message:
  -----------
  Merge branch 'main' into revert-205399-revert-149886-slashy


Compare: https://github.com/llvm/llvm-project/compare/065d1ba46f6b...b61a41c554a9

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list