[all-commits] [llvm/llvm-project] 47ca5e: [Instrumentor] Add instruction flags to NumericIO ...

Amara Emerson via All-commits all-commits at lists.llvm.org
Wed Jun 10 14:13:33 PDT 2026


  Branch: refs/heads/users/amara/fix-modulemap
  Home:   https://github.com/llvm/llvm-project
  Commit: 47ca5e84d9f7458fb5bf0fc82eeac3bac3495724
      https://github.com/llvm/llvm-project/commit/47ca5e84d9f7458fb5bf0fc82eeac3bac3495724
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Instrumentor.h
    M llvm/lib/Transforms/IPO/Instrumentor.cpp
    M llvm/test/Instrumentation/Instrumentor/default_config.json
    M llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
    A llvm/test/Instrumentation/Instrumentor/numeric.ll
    A llvm/test/Instrumentation/Instrumentor/numeric_config.json
    R llvm/test/Instrumentation/Instrumentor/operations.json
    R llvm/test/Instrumentation/Instrumentor/operations.ll

  Log Message:
  -----------
  [Instrumentor] Add instruction flags to NumericIO (#200709)


  Commit: 358412632f118765935980f5f927764f11a2d800
      https://github.com/llvm/llvm-project/commit/358412632f118765935980f5f927764f11a2d800
  Author: crockeea <ecrockett0 at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp

  Log Message:
  -----------
  [MLIR][ODS] Do not emit code when printing empty lists in Type/Attr assembly printer (NFC) (#201174)

In TableGen's code generator, `DefFormat::genCommaSeparatedPrinter` can
emit code like
```
void FooType::print(::mlir::AsmPrinter &odsPrinter) const {
  ::mlir::Builder odsBuilder(getContext());
  odsPrinter << "<";
  {
    bool _firstPrinted = true;
  }
  odsPrinter << ">";
}
```

This results in unused variable warnings for `_firstPrinted` when
compiling the table-gen'd code:
```
warning: unused variable '_firstPrinted' [-Wunused-variable]
  158 |     bool _firstPrinted = true;
```

The solution to this is to not emit the `{ bool _firstPrinted = true; }`
block when list being printed is empty. This PR adds a guard around the
code that emits the `{ bool _firstPrinted = true; }`: it is now only
emitted if there are arguments to print. In this case, additional code
is emitted which uses `_firstPrinted`.


  Commit: e7aff7b0f5552f8c775724a3c48338db656b1ab2
      https://github.com/llvm/llvm-project/commit/e7aff7b0f5552f8c775724a3c48338db656b1ab2
  Author: jofrn <jo7frn1 at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/test/CodeGen/X86/atomic-load-store.ll

  Log Message:
  -----------
  [X86] Add aligned atomic vector store tests wider than 128 bits (NFC) (#202537)

These >128-bit stores are expanded to __atomic_store libcalls regardless
of alignment, since x86 caps atomic ops at 128 bits.


  Commit: 83ff96d547d7653bb030bbe5ff461df70892f166
      https://github.com/llvm/llvm-project/commit/83ff96d547d7653bb030bbe5ff461df70892f166
  Author: Amara Emerson <amara at apple.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Instrumentor.h
    M llvm/lib/Transforms/IPO/Instrumentor.cpp
    M llvm/test/CodeGen/X86/atomic-load-store.ll
    M llvm/test/Instrumentation/Instrumentor/default_config.json
    M llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
    A llvm/test/Instrumentation/Instrumentor/numeric.ll
    A llvm/test/Instrumentation/Instrumentor/numeric_config.json
    R llvm/test/Instrumentation/Instrumentor/operations.json
    R llvm/test/Instrumentation/Instrumentor/operations.ll
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/amara/fix-modulemap


Compare: https://github.com/llvm/llvm-project/compare/bf4da3ddc268...83ff96d547d7

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