[all-commits] [llvm/llvm-project] e6f44a: Add PointerType analysis for DirectX backend
Chris B via All-commits
all-commits at lists.llvm.org
Mon Apr 25 15:55:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6f44a3cd2735e92987f51ea59ae44f959807df4
https://github.com/llvm/llvm-project/commit/e6f44a3cd2735e92987f51ea59ae44f959807df4
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
M llvm/include/llvm/IR/LLVMContext.h
M llvm/include/llvm/IR/Type.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/LLVMContext.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/Target/DirectX/CMakeLists.txt
A llvm/lib/Target/DirectX/DXILPointerType.cpp
A llvm/lib/Target/DirectX/DXILPointerType.h
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
A llvm/lib/Target/DirectX/PointerTypeAnalysis.cpp
A llvm/lib/Target/DirectX/PointerTypeAnalysis.h
A llvm/unittests/Target/DirectX/CMakeLists.txt
A llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
Log Message:
-----------
Add PointerType analysis for DirectX backend
As implemented this patch assumes that Typed pointer support remains in
the llvm::PointerType class, however this could be modified to use a
different subclass of llvm::Type that could be disallowed from use in
other contexts.
This does not rely on inserting typed pointers into the Module, it just
uses the llvm::PointerType class to track and unique types.
Fixes #54918
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D122268
More information about the All-commits
mailing list