[all-commits] [llvm/llvm-project] 083f9c: [AArch64][GISel] Widen non-power2 element sizes fo...
David Green via All-commits
all-commits at lists.llvm.org
Wed Apr 1 23:27:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 083f9c158a6ecc3a0a1d9bb5c0997af036a4efbd
https://github.com/llvm/llvm-project/commit/083f9c158a6ecc3a0a1d9bb5c0997af036a4efbd
Author: David Green <david.green at arm.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/ctlz.ll
Log Message:
-----------
[AArch64][GISel] Widen non-power2 element sizes for ctlz. (#189371)
This addresses an illegal mutation kind, where gisel would hit an
assert. It expands vector elements for non-power2 elements or elements
less that i8 to a power of 2.
A fix to handle vector types correctly was needed in LegalizerHandler.
Fixes #185411
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