[all-commits] [llvm/llvm-project] 54bc38: [SystemZ] Use the EVT version of getVectorVT() in ...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Mon Nov 18 08:02:39 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 54bc386e169635184619874d365c5ecfad61721a
      https://github.com/llvm/llvm-project/commit/54bc386e169635184619874d365c5ecfad61721a
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/vec-combine-01.ll

  Log Message:
  -----------
  [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150)

A test case showed up where the new vector type is v24i16, which is not a simple
MVT. In order to get an extended value type for cases like this, EVT::getVectorVT()
needs to be called instead of MVT::getVectorVT(), otherwise the following call
to getVectorElementType() in combineExtract() will fail.

(cherry picked from commit 22bc9db92b46965882b1c77aebc86430149b0912)



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