[all-commits] [llvm/llvm-project] 67bdda: [mlir][NFC] Wrap static DenseMap inside of a funct...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Apr 8 14:23:15 PDT 2020


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

  Changed paths:
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp

  Log Message:
  -----------
  [mlir][NFC] Wrap static DenseMap inside of a function to avoid the need for a global static initializer

This also helps to abstract away the exact implementation details of the loopup method if we wish to change it in the future.




More information about the All-commits mailing list