[all-commits] [llvm/llvm-project] 42dba6: [TypePromotion] Make TypeSize a class member

Sam Parker via All-commits all-commits at lists.llvm.org
Tue Dec 24 02:05:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 42dba633a3b3de73d8c27c409ff7414eb64cbc12
      https://github.com/llvm/llvm-project/commit/42dba633a3b3de73d8c27c409ff7414eb64cbc12
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp

  Log Message:
  -----------
  [TypePromotion] Make TypeSize a class member

Having TypeSize as a static class variable was causing problems
with multi-threading. Several static functions have now been
converted into methods of TypePromotion and a few other members
of TypePromotion and IRPromoter have been added or removed.

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




More information about the All-commits mailing list