[all-commits] [llvm/llvm-project] ec7f4a: [mlir:LLVM] Do not lookup symbol twice in the addr...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Thu Aug 4 08:42:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec7f4a7c5d9794c9fdf4f894873e7edbbfddf3e2
      https://github.com/llvm/llvm-project/commit/ec7f4a7c5d9794c9fdf4f894873e7edbbfddf3e2
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

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

  Log Message:
  -----------
  [mlir:LLVM] Do not lookup symbol twice in the addressof verifier

`SymbolTable::lookupSymbolIn` is an expensive operation and we do not want to do it twice

Reviewed By: ftynse

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




More information about the All-commits mailing list