[all-commits] [llvm/llvm-project] 0232c1: [Polly] Decompose object construction and detectio...

Michael Kruse via All-commits all-commits at lists.llvm.org
Fri Aug 13 10:47:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0232c1d10dd79f5c8f9530d636655488eb3c9e7e
      https://github.com/llvm/llvm-project/commit/0232c1d10dd79f5c8f9530d636655488eb3c9e7e
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M polly/include/polly/ScopDetection.h
    M polly/lib/Analysis/ScopDetection.cpp

  Log Message:
  -----------
  [Polly] Decompose object construction and detection algorithm. NFC.

Avoid doing the detection work inside the constructor. In addition to
polymorphism being unintuitive in constructors and other design problems
such as if an exception is thrown, the ScopDetection class is usable
without detection in the sense of "no Scop found" or "function skipped".


  Commit: 5eeaac22af3ceb963616708f60a8a77b83d88ec2
      https://github.com/llvm/llvm-project/commit/5eeaac22af3ceb963616708f60a8a77b83d88ec2
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M polly/lib/CodeGen/CodeGeneration.cpp

  Log Message:
  -----------
  [Polly] Rename CodeGen -> generateCode. NFC.

To conform to function naming convention: camelCase and start with a
verb.


Compare: https://github.com/llvm/llvm-project/compare/581a80304c67...5eeaac22af3c


More information about the All-commits mailing list