[all-commits] [llvm/llvm-project] 13779e: [DataLayout] Refactor parsing of "p" specification...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Fri Aug 16 13:49:22 PDT 2024


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

  Changed paths:
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/lib/IR/DataLayout.cpp
    R llvm/test/Assembler/getInt.ll
    M llvm/unittests/IR/DataLayoutTest.cpp

  Log Message:
  -----------
  [DataLayout] Refactor parsing of "p" specification (#104583)

Split off of #104545 to reduce patch size.
Similar to #104546, this introduces `parseSize` and `parseAlignment`,
which are improved versions of `getInt` tailored for specific needs.

I'm not a GTest guru, so the tests are not ideal.



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