[all-commits] [llvm/llvm-project] ed6d9f: [CGP] Introduce test for PR102926 (NFC)

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Mon Sep 2 00:36:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed6d9f6d2af7da90ac089cf648a1f8b2e8e4eb10
      https://github.com/llvm/llvm-project/commit/ed6d9f6d2af7da90ac089cf648a1f8b2e8e4eb10
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    A llvm/test/Transforms/CodeGenPrepare/revert-constant-ptr-propagation-on-calls.ll

  Log Message:
  -----------
  [CGP] Introduce test for PR102926 (NFC)


  Commit: e4e0dfb0c24c9bcd4bef835bd6a162967f097584
      https://github.com/llvm/llvm-project/commit/e4e0dfb0c24c9bcd4bef835bd6a162967f097584
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/test/Transforms/CodeGenPrepare/revert-constant-ptr-propagation-on-calls.ll

  Log Message:
  -----------
  [CGP] Undo constant propagation of pointers across calls

It may be profitable to revert SCCP propagation of C++ static values,
if such constants are pointers, in order to avoid redundant pointer
computation, since the method returning the constant is non-removable.


Compare: https://github.com/llvm/llvm-project/compare/fe1006b7f252...e4e0dfb0c24c

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