[all-commits] [llvm/llvm-project] 3d862c: [x86] combineMul - use computeKnownBits directly t...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 7 03:02:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d862c78bbb5ecbdfe93996bdf2dcfc64325ae87
      https://github.com/llvm/llvm-project/commit/3d862c78bbb5ecbdfe93996bdf2dcfc64325ae87
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-add.ll
    M llvm/test/CodeGen/X86/mul-constant-i64.ll
    M llvm/test/CodeGen/X86/vector-mul.ll

  Log Message:
  -----------
  [x86] combineMul - use computeKnownBits directly to find MUL_IMM constant splat. (REAPPLIED)

As we're after a constant splat value we can avoid all the complexities of trying to recreate the correct constant via getTargetConstantFromNode.



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