[all-commits] [llvm/llvm-project] f7ad49: [SandboxIR] Clean up tracking code with the help o...

vporpo via All-commits all-commits at lists.llvm.org
Fri Aug 9 14:32:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7ad495a59445bc42d1955c26f11c892c540abdc
      https://github.com/llvm/llvm-project/commit/f7ad495a59445bc42d1955c26f11c892c540abdc
  Author: vporpo <vporpodas at google.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/include/llvm/SandboxIR/Tracker.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/lib/SandboxIR/Tracker.cpp

  Log Message:
  -----------
  [SandboxIR] Clean up tracking code with the help of emplaceIfTracking() (#102406)

This patch introduces Tracker::emplaceIfTracking(), a wrapper of Tracker::track() that will conditionally create the change object if tracking is enabled.
This patch also removes the `Parent` member field of `IRChangeBase`.



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