[all-commits] [llvm/llvm-project] c02724: SelectionDAG: Don't pad the source of ADDRSPACECAS...
sujianIBM via All-commits
all-commits at lists.llvm.org
Tue Sep 22 08:43:30 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c02724354985f8326d1cee4d5c491b71514ea485
https://github.com/llvm/llvm-project/commit/c02724354985f8326d1cee4d5c491b71514ea485
Author: sujianIBM <Jian.Su at ibm.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/SystemZ/mixed-ptr-sizes.ll
Log Message:
-----------
SelectionDAG: Don't pad the source of ADDRSPACECAST if it's legal. (#225390)
With this use case `%out = addrspacecast <2 x ptr> %in to <2 x ptr
addrspace(1)>` on z/OS, the res type is `v2i32` (illegal) and the source
type is `v2i64` (legal).
Padding the source up to `v4i64` makes it illegal on z/OS and breaks the
type legalization.
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