-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include/{Support,Config} -> include/llvm/{Support,Config} #724
Comments
*** Bug #555 has been marked as a duplicate of this bug. *** |
Script to do the cvs repository modifications |
The attachment needs to be run so I can commit changes. Note that the resolution to this bug will also encapsulate the movement of |
One more thing to be done before resolving this: Split the abstract data type implementations out of lib/Support and into Either that or rename libsupport.a libsupport+adt.a |
This change has been implemented. All public header files are now in http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040830/017770.html and ends with: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040830/017837.html Yes, changes in 67 directories :) |
…cases for OpenCL with SPIR-V target (llvm#724) This PR implements `offload_*` cases discussed in [this thread](https://discourse.llvm.org/t/rfc-clangir-unified-address-space-design-in-clangir/79728). * Integrate target-specific CIR-to-LLVM address space map into `TargetLoweringInfo` * CIRGen: Implement these cases in `getValueFromLangAS` * Lowering: Extend the state of type converter with `LowerModule` When frontend provides a new LangAS like `opencl_generic`, it would be processed by CIRGenTypes and `Builder.getPointerTo()` and encoded as `offload_generic`. When we lower CIR to LLVM, * For pointer types without address space attribute, it's mapped to `ptr addrspace(0)` directly * For target cases `target<x>`, it's mapped to `ptr addrspace(x)` * For other defined cases, query the target info with a new virtual method `getTargetAddrSpaceFromCIRAddrSpace`. General targets like X86 and ARM64 map all known cases to 0. For SPIR-V target here, it maps `offload_generic` to `addrspace(4)`.
…cases for OpenCL with SPIR-V target (llvm#724) This PR implements `offload_*` cases discussed in [this thread](https://discourse.llvm.org/t/rfc-clangir-unified-address-space-design-in-clangir/79728). * Integrate target-specific CIR-to-LLVM address space map into `TargetLoweringInfo` * CIRGen: Implement these cases in `getValueFromLangAS` * Lowering: Extend the state of type converter with `LowerModule` When frontend provides a new LangAS like `opencl_generic`, it would be processed by CIRGenTypes and `Builder.getPointerTo()` and encoded as `offload_generic`. When we lower CIR to LLVM, * For pointer types without address space attribute, it's mapped to `ptr addrspace(0)` directly * For target cases `target<x>`, it's mapped to `ptr addrspace(x)` * For other defined cases, query the target info with a new virtual method `getTargetAddrSpaceFromCIRAddrSpace`. General targets like X86 and ARM64 map all known cases to 0. For SPIR-V target here, it maps `offload_generic` to `addrspace(4)`.
Extended Description
The include directory should contain exactly one directory: llvm.
All include/* directories need to be made into include/llvm/* directories.
The reason for this is so that llvm #includes (especally by users of LLVM)
cannot clash with any other software system. Right now we have header files in
include/Support and include/Config that could clash with header files from some
"Support" or "Config" application or module of an application.
After this change is made, including any LLVM header will have the form:
#include <llvm/MODULE/HEADER.h>
The text was updated successfully, but these errors were encountered: