[all-commits] [llvm/llvm-project] 3b1125: [SCEV] Add canonical SCEV pointer and construct ca...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Apr 1 04:44:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b1125b1edf997e261ebafdf31b1828f5c458ebb
      https://github.com/llvm/llvm-project/commit/3b1125b1edf997e261ebafdf31b1828f5c458ebb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Add canonical SCEV pointer and construct canonical SCEVs (NFC) (#188858)

Add a canonical SCEV pointer to SCEV, to support comparing SCEVs for
equality, even with different use-specific flags.

Currently this should be NFC, as nothing yet sets use flags.

Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=13f1fd006243f756417c3ae992342c0674e3f04e&to=e7f46bcf8bef62c619380fbcccbe6073300b69fe&stat=instructions:u

+0.03% - +0.05% on stage1 configs
-0.03% surprisingly for stage2-O3

PR: https://github.com/llvm/llvm-project/pull/188858



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