[all-commits] [llvm/llvm-project] 57de4e: [TypePromotion] Don't insert Truncate for a no-op ...

Andre Vieira via All-commits all-commits at lists.llvm.org
Thu Aug 11 01:50:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57de4e059ddcf97aa7cf22b1a94a018c66579f64
      https://github.com/llvm/llvm-project/commit/57de4e059ddcf97aa7cf22b1a94a018c66579f64
  Author: Andre Vieira <andre.simoesdiasvieira at arm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/test/Transforms/TypePromotion/AArch64/phi-zext-gep.ll
    M llvm/test/Transforms/TypePromotion/ARM/calls.ll
    M llvm/test/Transforms/TypePromotion/ARM/casts.ll

  Log Message:
  -----------
  [TypePromotion] Don't insert Truncate for a no-op ZExt

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


  Commit: e524d61f35a331106a6e28195783436b5d4cb7b9
      https://github.com/llvm/llvm-project/commit/e524d61f35a331106a6e28195783436b5d4cb7b9
  Author: Andre Vieira <andre.simoesdiasvieira at arm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

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

  Log Message:
  -----------
  [TypePromotion] Don't delete Insns when iterating

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


  Commit: 05fc5037cd6c3aad7f2985deaf5a486775dafcec
      https://github.com/llvm/llvm-project/commit/05fc5037cd6c3aad7f2985deaf5a486775dafcec
  Author: Andre Vieira <andre.simoesdiasvieira at arm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

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

  Log Message:
  -----------
  [TypePromotion] Hoist out Promote Width calculation

Hoist out promote width calculation to simplify runOnFunction.

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


  Commit: 164067918725d1ee8875e38213b6aee9be13383e
      https://github.com/llvm/llvm-project/commit/164067918725d1ee8875e38213b6aee9be13383e
  Author: Andre Vieira <andre.simoesdiasvieira at arm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    A llvm/test/Transforms/TypePromotion/AArch64/phi-zext-gep2.ll
    M llvm/test/Transforms/TypePromotion/ARM/casts.ll

  Log Message:
  -----------
  [TypePromotion] Search from ZExt + PHI

Expand TypePromotion pass to try to promote PHI-nodes in loops that are the
operand of a ZExt, using the ZExt's result type to determine the Promote Width.

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


Compare: https://github.com/llvm/llvm-project/compare/c47ec9553161...164067918725


More information about the All-commits mailing list