[all-commits] [llvm/llvm-project] 80c25d: [TargetParser] Expose Triple::getArchPointerBitWid...

Lang Hames via All-commits all-commits at lists.llvm.org
Sat Feb 17 13:21:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80c25daca8f8282ceabd2a5bb567203e0dcf8374
      https://github.com/llvm/llvm-project/commit/80c25daca8f8282ceabd2a5bb567203e0dcf8374
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  [TargetParser] Expose Triple::getArchPointerBitWidth. (#82086)

The getArchPointerBitWidth method provides direct access to the pointer
size for arithmetic or switch statements, instead of requiring clients
to use the isArch16Bit / isArch32Bit / isArch64Bit predicates.



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