[all-commits] [llvm/llvm-project] f97298: [X86] combineGatherScatter - use FoldConstantArith...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Apr 17 10:41:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9729859446180c1f0afc386513f7476f5f220e0
      https://github.com/llvm/llvm-project/commit/f9729859446180c1f0afc386513f7476f5f220e0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineGatherScatter - use FoldConstantArithmetic for truncation of constant build vectors (#136033)

No need to explicitly check with BuildVectorSDNode::isConstant - FoldConstantArithmetic can handle this, including through bitcasts etc.



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