[all-commits] [llvm/llvm-project] 7c886d: PassTimingInfo: test TheTimeInfo first. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jan 10 22:13:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c886d5d9265177e5dadb7ac5704cccffc3b95e0
      https://github.com/llvm/llvm-project/commit/7c886d5d9265177e5dadb7ac5704cccffc3b95e0
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M llvm/lib/IR/PassTimingInfo.cpp

  Log Message:
  -----------
  PassTimingInfo: test TheTimeInfo first. NFC

TheTimeInfo is a member variable and is often non-null, allowing the
caller `getPassTimer` to skip one check.



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