[all-commits] [llvm/llvm-project] 5bc6ff: [mlir][spirv] Add some folders for spv.LogicalAnd/...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Feb 26 12:13:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bc6ff6455ec663a5da2681d057d0f848817b388
      https://github.com/llvm/llvm-project/commit/5bc6ff6455ec663a5da2681d057d0f848817b388
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td
    M mlir/lib/Dialect/SPIRV/SPIRVCanonicalization.cpp
    M mlir/test/Dialect/SPIRV/canonicalize.mlir

  Log Message:
  -----------
  [mlir][spirv] Add some folders for spv.LogicalAnd/spv.LogicalOr

This commit handles folding spv.LogicalAnd/spv.LogicalOr when
one of the operands is constant true/false.

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




More information about the All-commits mailing list