[all-commits] [llvm/llvm-project] ae9edb: [mlir][AsmPrinter] Change value numbering for loca...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Apr 6 11:09:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae9edbcea2451a1b0456db14fbfb996916de783f
      https://github.com/llvm/llvm-project/commit/ae9edbcea2451a1b0456db14fbfb996916de783f
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M mlir/include/mlir/IR/Operation.h
    M mlir/lib/IR/AsmPrinter.cpp

  Log Message:
  -----------
  [mlir][AsmPrinter] Change value numbering for local scope to be the next isolated operation.

Summary: This revision updates the value numbering when printing to number from the next parent operation that is isolated from above. This is the highest level to number from that still ensures thread-safety. This revision also changes the behavior of Operator::operator<< to use local scope to avoid thread races when numbering operations.

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




More information about the All-commits mailing list