[all-commits] [llvm/llvm-project] 2c8362: [NFC] Add pre-commit test for simplifyCastInst in ...

Sergey Kachkov via All-commits all-commits at lists.llvm.org
Tue Feb 7 01:43:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c8362b2a220b5854bdcfab13c8f6d87b9c78cb0
      https://github.com/llvm/llvm-project/commit/2c8362b2a220b5854bdcfab13c8f6d87b9c78cb0
  Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M llvm/test/Transforms/GVN/PRE/phi-translate-2.ll

  Log Message:
  -----------
  [NFC] Add pre-commit test for simplifyCastInst in PHITransAddr


  Commit: 203cc665cf01015736677bbe794161aad155a8df
      https://github.com/llvm/llvm-project/commit/203cc665cf01015736677bbe794161aad155a8df
  Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M llvm/lib/Analysis/PHITransAddr.cpp
    M llvm/test/Transforms/GVN/PRE/phi-translate-2.ll

  Log Message:
  -----------
  [PHITransAddr] Simplify casts in PHITransAddr

Try to simplify cast in similar way as for GEP and ADD with
constant (e.g. sext/zext + trunc).

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


Compare: https://github.com/llvm/llvm-project/compare/8681797e595d...203cc665cf01


More information about the All-commits mailing list