[all-commits] [llvm/llvm-project] 334558: [X86] getTargetConstantBitsFromNode - early-out if...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 23 03:23:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33455825428f9e1b7998a66e228da7f6d483acf8
      https://github.com/llvm/llvm-project/commit/33455825428f9e1b7998a66e228da7f6d483acf8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec_extract.ll

  Log Message:
  -----------
  [X86] getTargetConstantBitsFromNode - early-out if the element bitsize doesn't align with the source bitsize (#150184)

As we use getTargetConstantBitsFromNode in a wider variety of places we can't guarantee that all the sources match (or are legal) anymore - better to early out than assert.

Fixes #150117



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