[all-commits] [llvm/llvm-project] 2c2de4: [ValueTracking] Remove SPF support from `computeKn...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sat Dec 30 12:38:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c2de4b20ef6792e8bf437b02fbb94e3c20bdaff
      https://github.com/llvm/llvm-project/commit/2c2de4b20ef6792e8bf437b02fbb94e3c20bdaff
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Analysis/ScalarEvolution/max-expr-cache.ll
    M llvm/test/Transforms/LoopIdiom/ARM/ctlz.ll
    M llvm/test/Transforms/LoopIdiom/X86/ctlz.ll

  Log Message:
  -----------
  [ValueTracking] Remove SPF support from `computeKnownBitsFromOperator` (#76630)

This patch removes redundant SPF support
(https://github.com/llvm/llvm-project/commit/5350e1b5096aa4707aa525baf7398d93b4a4f1a5)
from `computeKnownBitsFromOperator` as we always canonicalize a SPF into
an intrinsic call.

Compile-time improvement:
http://llvm-compile-time-tracker.com/compare.php?from=3dc0638cfc19e140daff7bf1281648daca8212fa&to=8771ef0749fb2ba4304dc68d418c88ec5769346f&stat=instructions:u

|stage1-O3|stage1-ReleaseThinLTO|stage1-ReleaseLTO-g|stage1-O0-g|stage2-O3|stage2-O0-g|stage2-clang|
|--|--|--|--|--|--|--|
-0.01%|-0.01%|+0.01%|+0.00%|+0.01%|+0.04%|-0.01%|




More information about the All-commits mailing list