[all-commits] [llvm/llvm-project] f124e5: [TypePromotionPass] Don't treat phi's as ToPromote

David Green via All-commits all-commits at lists.llvm.org
Tue Sep 13 00:57:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f124e59b2e515d65e0b941826467e08de5ba97b0
      https://github.com/llvm/llvm-project/commit/f124e59b2e515d65e0b941826467e08de5ba97b0
  Author: David Green <david.green at arm.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/test/CodeGen/AArch64/typepromotion-cost.ll

  Log Message:
  -----------
  [TypePromotionPass] Don't treat phi's as ToPromote

This attempts to stop the type promotion pass transforming where it is
not profitable, by not marking PhiNodes as ToPromote and being more
aggressive about pulling extends out of loops.

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




More information about the All-commits mailing list