[all-commits] [llvm/llvm-project] d51fcd: [InstCombine] Handle scalable splat in `getFlipped...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Mar 5 05:08:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d51fcd4ed86ac6075c8a25b053c2b66051feaf62
      https://github.com/llvm/llvm-project/commit/d51fcd4ed86ac6075c8a25b053c2b66051feaf62
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    A llvm/test/Transforms/InstCombine/pr83931.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstCombine/vscale_cmp.ll

  Log Message:
  -----------
  [InstCombine] Handle scalable splat in `getFlippedStrictnessPredicateAndConstant` (#83980)

This patch adds support for canonicalization of icmp with a scalable
splat. Some optimizations assume that `icmp pred X, APInt C` is in
canonical form.

Fixes https://github.com/llvm/llvm-project/issues/83931.



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