[all-commits] [llvm/llvm-project] 89bbcb: [PowerPC] fix legalization crash (#105563)

RolandF77 via All-commits all-commits at lists.llvm.org
Wed Aug 28 08:22:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89bbcbe285eee1287a9ea21b92e4b3d307464d44
      https://github.com/llvm/llvm-project/commit/89bbcbe285eee1287a9ea21b92e4b3d307464d44
  Author: RolandF77 <55763885+RolandF77 at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/custom-stov.ll

  Log Message:
  -----------
  [PowerPC] fix legalization crash (#105563)

If v2i64 scalar_to_vector is made custom, llc can crash in certain
legalization cases where v2i64 vectors are injected, even if they
weren't otherwise present. The code generated would be fine, but that
operation is not handled in ReplaceNodeResults. Add handling.



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