[all-commits] [llvm/llvm-project] 17fb3e: [VPlan] Skip extending ICmp results in trunateToMi...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 23 03:51:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17fb3e82f6c950267bb01cc2fd2a84b0d9e9d0d8
      https://github.com/llvm/llvm-project/commit/17fb3e82f6c950267bb01cc2fd2a84b0d9e9d0d8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Transforms/LoopVectorize/trunc-extended-icmps.ll

  Log Message:
  -----------
  [VPlan] Skip extending ICmp results in trunateToMinimalBitwidth.

Results of icmp don't need extending after truncating their operands, as
the result will always be i1. Skip them during extending.

Fixes https://github.com/llvm/llvm-project/issues/79742
Fixes https://github.com/llvm/llvm-project/issues/85185



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list