[all-commits] [llvm/llvm-project] 91a48e: [AArch64][GlobalISel] Implicitly truncate APInt in...

David Green via All-commits all-commits at lists.llvm.org
Sun Nov 10 07:19:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91a48e06463b23679907e151bdfec3e6093e9f16
      https://github.com/llvm/llvm-project/commit/91a48e06463b23679907e151bdfec3e6093e9f16
  Author: David Green <david.green at arm.com>
  Date:   2024-11-10 (Sun, 10 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-ext.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Implicitly truncate APInt in matchExt combine.

The APInt using FirstRealElt + 1 is intended to match the next element, which
might overflow the size of MaskBits. This prevents a new assert in APInt from
triggering.



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