[all-commits] [llvm/llvm-project] 5d1a6d: [ARM] Remove unnecessary use of replaceSymbolicStr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 10 01:48:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1a6d0d1a48c59a036c7ce8698471005c3b4ae3
      https://github.com/llvm/llvm-project/commit/5d1a6d0d1a48c59a036c7ce8698471005c3b4ae3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp

  Log Message:
  -----------
  [ARM] Remove unnecessary use of replaceSymbolicStrideSCEV (NFC).

When passing an empty strides map, there's nothing to replace for
replaceSymbolicStrideSCEV and it just returns the SCEV for Ptr. There
should be no need to call the function.

Reviewed By: SjoerdMeijer

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




More information about the All-commits mailing list