[all-commits] [llvm/llvm-project] 0c41c5: [DAG][AArch64] Fix truncated vscale constant types

David Green via All-commits all-commits at lists.llvm.org
Thu Jul 20 01:12:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c41c59deebc25682f85175aa92e5fafa1c619ef
      https://github.com/llvm/llvm-project/commit/0c41c59deebc25682f85175aa92e5fafa1c619ef
  Author: David Green <david.green at arm.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AArch64/sve-vscale.ll

  Log Message:
  -----------
  [DAG][AArch64] Fix truncated vscale constant types

It appears that vscale values truncated to i1 causes mismatches in the constant
types when created in getNode. https://godbolt.org/z/TaaTo86ne.

Differential Revision: https://reviews.llvm.org/D155626




More information about the All-commits mailing list