[all-commits] [llvm/llvm-project] 96ec17: [LLVM][InstCombine] Enable constant folding for SV...

Paul Walker via All-commits all-commits at lists.llvm.org
Fri Apr 25 03:30:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96ec17dfed358264b84fd6c407d0ca8d31229ebf
      https://github.com/llvm/llvm-project/commit/96ec17dfed358264b84fd6c407d0ca8d31229ebf
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-simplify-binop.ll

  Log Message:
  -----------
  [LLVM][InstCombine] Enable constant folding for SVE add,and,eor,fadd,fdiv,fsub,orr & sub intrinsics. (#136849)

This is the subset of binops (mul and fmul are already enabled) whose
behaviour fully aligns with the equivalent SVE intrinsic. The omissions
are integer divides and shifts that are defined to return poison for
values where the intrinsics have a defined result. These will be covered
in a seperate PR.



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