[all-commits] [llvm/llvm-project] 6d53d3: [TypePromotion] Avoid some unnecessary truncs

Sam Parker via All-commits all-commits at lists.llvm.org
Fri May 13 01:46:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d53d35efd3b876d2cc70a776fb168d6debfeba5
      https://github.com/llvm/llvm-project/commit/6d53d35efd3b876d2cc70a776fb168d6debfeba5
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp
    M llvm/test/CodeGen/AArch64/bfis-in-loop.ll
    M llvm/test/Transforms/TypePromotion/AArch64/convert-utf.ll
    A llvm/test/Transforms/TypePromotion/AArch64/phi-zext-gep.ll
    M llvm/test/Transforms/TypePromotion/AArch64/trunc-zext-chain.ll

  Log Message:
  -----------
  [TypePromotion] Avoid some unnecessary truncs

Recommit.

Check for legal zext 'sinks' before inserting a trunc.

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




More information about the All-commits mailing list