[all-commits] [llvm/llvm-project] 3bf9b2: [DAG] Allow AssertZExt to scalarize. (#122463)
David Green via All-commits
all-commits at lists.llvm.org
Tue Jan 14 01:39:41 PST 2025
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 3bf9b25b1627ea8610c04b1ca8de4ba9ce432050
https://github.com/llvm/llvm-project/commit/3bf9b25b1627ea8610c04b1ca8de4ba9ce432050
Author: David Green <david.green at arm.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
A llvm/test/CodeGen/ARM/scalarize-assert-zext.ll
Log Message:
-----------
[DAG] Allow AssertZExt to scalarize. (#122463)
With range and undef metadata on a call we can have vector AssertZExt
generated on a target with no vector operations. The AssertZExt needs to
scalarize to a normal `AssertZext tin, ValueType`. I have added
AssertSext too, although I do not have a test case.
Fixes #110374
(cherry picked from commit ab9a80a3ad78f611fd06cd6f7215bd828809310c)
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