[all-commits] [llvm/llvm-project] 6ce047: [SDISel] Teach the type legalizer about ADDRSPACEC...
Quentin Colombet via All-commits
all-commits at lists.llvm.org
Tue May 7 02:08:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ce04747cff524b4c5c8738e25144659a5cf6691
https://github.com/llvm/llvm-project/commit/6ce04747cff524b4c5c8738e25144659a5cf6691
Author: Quentin Colombet <quentin.colombet at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/NVPTX/addrspacecast.ll
Log Message:
-----------
[SDISel] Teach the type legalizer about ADDRSPACECAST (#90969)
Vectorized ADDRSPACECASTs were not supported by the type legalizer.
This patch adds the support for:
- splitting the vector result: <2 x ptr> => 2 x <1 x ptr>
- scalarization: <1 x ptr> => ptr
- widening: <3 x ptr> => <4 x ptr>
This is all exercised by the added NVPTX tests.
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