[all-commits] [llvm/llvm-project] bcabaa: Add LLVM_MARK_AS_BITMASK_ENUM to HoistingKind enum

XiaoleiShi-NV via All-commits all-commits at lists.llvm.org
Tue Aug 22 23:22:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcabaa5590052d1e9f78522a1f45621fe1a95b06
      https://github.com/llvm/llvm-project/commit/bcabaa5590052d1e9f78522a1f45621fe1a95b06
  Author: Xiaolei Shi <xiaoleis at nvidia.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
    M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/BufferOptimizations.cpp

  Log Message:
  -----------
  Add LLVM_MARK_AS_BITMASK_ENUM to HoistingKind enum

This revision adds LLVM_MARK_AS_BITMASK_ENUM to HoistingKind to avoid static_cast when performing bitwise operations.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list