[PATCH] D25930: IR: Introduce a GlobalPointer type for all GlobalValues of pointer type.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 20:55:51 PDT 2016


It seems weird to send this out when the RFC never concluded with a
specific plan?

On Mon, Oct 24, 2016 at 6:12 PM Peter Collingbourne via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> pcc created this revision.
> pcc added reviewers: efriedma, chandlerc, lattner.
> pcc added a subscriber: llvm-commits.
> Herald added subscribers: nhaehnle, nemanjai, mehdi_amini, dschuff,
> arsenm, jfb, jholewinski.
> Herald added a reviewer: tstellarAMD.
>
> At the moment, all GlobalValues are of pointer type, but a future
> change will introduce a GlobalValue which is not of pointer type. See:
> http://lists.llvm.org/pipermail/llvm-dev/2016-October/106434.html
>
> To begin with, move PointerType *getType() and getValueType() to
> GlobalPointer. Future changes will move other functionality to
> GlobalPointer.
>
>
> https://reviews.llvm.org/D25930
>
> Files:
>   clang/lib/CodeGen/CGVTables.cpp
>   clang/lib/CodeGen/CodeGenModule.cpp
>   clang/lib/CodeGen/CodeGenModule.h
>   clang/lib/CodeGen/ItaniumCXXABI.cpp
>   llvm/include/llvm/CodeGen/SelectionDAGNodes.h
>   llvm/include/llvm/IR/GlobalAlias.h
>   llvm/include/llvm/IR/GlobalIndirectSymbol.h
>   llvm/include/llvm/IR/GlobalObject.h
>   llvm/include/llvm/IR/GlobalPointer.h
>   llvm/include/llvm/IR/GlobalValue.h
>   llvm/include/llvm/LTO/LTO.h
>   llvm/lib/Analysis/ValueTracking.cpp
>   llvm/lib/AsmParser/LLParser.cpp
>   llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
>   llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
>   llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
>   llvm/lib/IR/Globals.cpp
>   llvm/lib/Linker/IRMover.cpp
>   llvm/lib/Linker/LinkModules.cpp
>   llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
>   llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
>   llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
>   llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
>   llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
>   llvm/lib/Target/AMDGPU/SIISelLowering.cpp
>   llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
>   llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
>   llvm/lib/Target/PowerPC/PPCISelLowering.cpp
>   llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
>   llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
>   llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
>   llvm/lib/Target/XCore/XCoreISelLowering.cpp
>   llvm/lib/Transforms/IPO/GlobalOpt.cpp
>   llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
>   llvm/tools/llvm-nm/llvm-nm.cpp
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/2f812c76/attachment.html>


More information about the llvm-commits mailing list