[all-commits] [llvm/llvm-project] 5bf32a: [Polly] Remove checkIslAstExprInt and use RAII ins...

Max Fan via All-commits all-commits at lists.llvm.org
Fri Oct 15 07:17:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bf32a0e4841d56b481344fb4d074ac96a854261
      https://github.com/llvm/llvm-project/commit/5bf32a0e4841d56b481344fb4d074ac96a854261
  Author: Max Fan <root at max.fan>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

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

  Log Message:
  -----------
  [Polly] Remove checkIslAstExprInt and use RAII instead of manually freeing Expr. NFC.

Polly is trying to move towards using isl::ast_expr / isl-noexceptions.h
(which implements RAII) where possible instead of manually managing memory.
checkIslAstExprInt manually frees Expr, so it has been removed to be
more idiomatic and consistent.

Reviewed By: Meinersbur

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




More information about the All-commits mailing list