[all-commits] [llvm/llvm-project] b37780: [mlir][LLVM] Fix folding of LLVM::ExtractValueOp

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue Nov 16 06:49:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b377807a76e7ca9756d85f07907ba5e0b5b76e60
      https://github.com/llvm/llvm-project/commit/b377807a76e7ca9756d85f07907ba5e0b5b76e60
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/canonicalize.mlir

  Log Message:
  -----------
  [mlir][LLVM] Fix folding of LLVM::ExtractValueOp

Limit the backtracking along def-use chains when a prefix is encountered as it would generate incorrect foldings.

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




More information about the All-commits mailing list