[all-commits] [llvm/llvm-project] 17fdac: [CaptureTracking] Ignore ephemeral values when det...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Apr 7 10:15:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17fdaccccfad9b143e4aadbcdda7f645de127153
      https://github.com/llvm/llvm-project/commit/17fdaccccfad9b143e4aadbcdda7f645de127153
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/CaptureTracking.h
    M llvm/lib/Analysis/CaptureTracking.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/assume.ll

  Log Message:
  -----------
  [CaptureTracking] Ignore ephemeral values when determining pointer escapeness

Ephemeral values cannot cause a pointer to escape.

No change in compile time:
https://llvm-compile-time-tracker.com/compare.php?from=4371710085ba1c376a094948b806ddd3b88319de&to=c5ddbcc4866f38026737762ee8d7b9b00395d4f4&stat=instructions

This partially fixes some regressions caused by more calls to `__builtin_assume` (D122397).

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D123162




More information about the All-commits mailing list