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

Zaara Syeda via All-commits all-commits at lists.llvm.org
Tue Sep 10 11:14:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22067a8eb43a7194e65913b47a9c724fde3ed68f
      https://github.com/llvm/llvm-project/commit/22067a8eb43a7194e65913b47a9c724fde3ed68f
  Author: Zaara Syeda <syzaara at ca.ibm.com>
  Date:   2024-09-10 (Tue, 10 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.



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