[all-commits] [llvm/llvm-project] 17de7e: [MLIR][NFC] Minor cleanup in liveness.

Rahul Joshi via All-commits all-commits at lists.llvm.org
Fri Jul 23 13:30:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17de7ed556ad8df3d2dcaa9322a792fc70243194
      https://github.com/llvm/llvm-project/commit/17de7ed556ad8df3d2dcaa9322a792fc70243194
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M mlir/include/mlir/Analysis/Liveness.h
    M mlir/lib/Analysis/Liveness.cpp

  Log Message:
  -----------
  [MLIR][NFC] Minor cleanup in liveness.

- Rename isLastUse to isDeadAfter to reflect what the function does.
- Avoid a second walk over all operations in BlockInfoBuilder constructor.
- use std::move() to save the new in set.

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




More information about the All-commits mailing list