[all-commits] [llvm/llvm-project] 19ced8: Check if an attribute is in the builtin dialect be...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Nov 1 22:57:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19ced834ccc5adb93ee7ea2c6dbb128bd62af2ac
      https://github.com/llvm/llvm-project/commit/19ced834ccc5adb93ee7ea2c6dbb128bd62af2ac
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp

  Log Message:
  -----------
  Check if an attribute is in the builtin dialect before going through all the possible combinations (NFC)

This is just a "micro-optimization" noticed through code review.

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




More information about the All-commits mailing list