[all-commits] [llvm/llvm-project] 0ef24a: Fix for logic in combineExtract() (#108208)

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed Sep 25 03:12:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ef24aa549536e65fc3b23c4d21b6b76190d416e
      https://github.com/llvm/llvm-project/commit/0ef24aa549536e65fc3b23c4d21b6b76190d416e
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    A llvm/test/CodeGen/SystemZ/DAGCombine_extract_vector_elt.ll

  Log Message:
  -----------
  Fix for logic in combineExtract() (#108208)

A (csmith) test case appeared where combineExtract() crashed when the
input vector was a bitcast into a vector of i1:s. Fix this by adding a check
with canTreatAsByteVector() before the call.



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