[all-commits] [llvm/llvm-project] e7f022: [nfc][llvm] Clean up isUEFI checks (#124845)

Prabhuk via All-commits all-commits at lists.llvm.org
Tue Jan 28 15:18:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7f02241ad4d38fc50b63ad589a024323e6bc3c6
      https://github.com/llvm/llvm-project/commit/e7f02241ad4d38fc50b63ad589a024323e6bc3c6
  Author: Prabhuk <prabhukr at google.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/IR/DataLayout.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/TargetRegistry.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/lib/Target/X86/X86Subtarget.h

  Log Message:
  -----------
  [nfc][llvm] Clean up isUEFI checks (#124845)

The check for `isOSWindows() || isUEFI()` is used in several places
across the codebase. Introducing `isOSWindowsOrUEFI()` in Triple.h
to simplify these checks.



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