[all-commits] [llvm/llvm-project] 58253d: [X86] getTargetConstantBitsFromNode - bail if we'r...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 17 02:02:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58253dcbcdfafb1fb1fb5ffc43d6f11a31f35e2a
      https://github.com/llvm/llvm-project/commit/58253dcbcdfafb1fb1fb5ffc43d6f11a31f35e2a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

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

  Log Message:
  -----------
  [X86] getTargetConstantBitsFromNode - bail if we're loading from a constant vector element type larger than the target value size

This can be improved upon by just truncating the constant value, but the crash needs to be addressed first.

Fixes #72539




More information about the All-commits mailing list