[all-commits] [llvm/llvm-project] bdae3c: [PowerPC] Fix assert exposed by PR 95931 in LowerB...

Zaara Syeda via All-commits all-commits at lists.llvm.org
Mon Sep 16 11:34:28 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bdae3c487cbb2b4161e7fbb54a855f0ba55da61a
      https://github.com/llvm/llvm-project/commit/bdae3c487cbb2b4161e7fbb54a855f0ba55da61a
  Author: Zaara Syeda <syzaara at ca.ibm.com>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/f128-bitcast.ll

  Log Message:
  -----------
  [PowerPC] Fix assert exposed by PR 95931 in LowerBITCAST (#108062)

Hit Assertion failed: Num < NumOperands && "Invalid child # of SDNode!"
Fix by checking opcode and value type before calling getOperand.

(cherry picked from commit 22067a8eb43a7194e65913b47a9c724fde3ed68f)



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