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

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Fri Jul 26 05:34:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22bc9db92b46965882b1c77aebc86430149b0912
      https://github.com/llvm/llvm-project/commit/22bc9db92b46965882b1c77aebc86430149b0912
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2024-07-26 (Fri, 26 Jul 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.



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