[all-commits] [llvm/llvm-project] 0b5dae: [GlobalISel] Fix miscompile when narrowing vector ...

Tobias Stadler via All-commits all-commits at lists.llvm.org
Tue Apr 29 04:36:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b5daeb2e55e21eb8af9ca504fca82b82a27e1aa
      https://github.com/llvm/llvm-project/commit/0b5daeb2e55e21eb8af9ca504fca82b82a27e1aa
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store-vector.mir
    M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
    M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll

  Log Message:
  -----------
  [GlobalISel] Fix miscompile when narrowing vector loads/stores to non-byte-sized types (#136739)

LegalizerHelper::reduceLoadStoreWidth does not work for non-byte-sized
types, because this would require (un)packing of bits across byte
boundaries.

Precommit tests: #134904



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