[all-commits] [llvm/llvm-project] 696f53: [AsmPrinter] Fix bit pattern for i1 vectors.

Eli Friedman via All-commits all-commits at lists.llvm.org
Wed Jul 6 12:57:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696f53665dc561ec56102bd11a000c7e7a6f3561
      https://github.com/llvm/llvm-project/commit/696f53665dc561ec56102bd11a000c7e7a6f3561
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/vector-global-i1.ll

  Log Message:
  -----------
  [AsmPrinter] Fix bit pattern for i1 vectors.

Vectors are defined to be tightly packed, regardless of the element
type.  The AsmPrinter didn't realize this, and was allocating extra
padding.

Fixes https://github.com/llvm/llvm-project/issues/49286
Fixes https://github.com/llvm/llvm-project/issues/53246
Fixes https://github.com/llvm/llvm-project/issues/55522

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




More information about the All-commits mailing list