[all-commits] [llvm/llvm-project] d86798: [DataLayout] Refactor parsing of "ni" specificatio...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Fri Aug 16 04:51:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d867988cd9b0f8ea31e7dd9f995e341c9d5d8157
      https://github.com/llvm/llvm-project/commit/d867988cd9b0f8ea31e7dd9f995e341c9d5d8157
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M llvm/lib/IR/DataLayout.cpp
    M llvm/unittests/IR/DataLayoutTest.cpp

  Log Message:
  -----------
  [DataLayout] Refactor parsing of "ni" specification (#104546)

Split off of #104545 to reduce patch size.
This introduces `parseAddrSpace` function, intended as a replacement for
`getAddrSpace`, which doesn't check for trailing characters after the
address space number. `getAddrSpace` will be removed after switching all
uses to `parseAddrSpace`.

Pull Request: https://github.com/llvm/llvm-project/pull/104546



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