[llvm] [IR] Add TargetExtType::CanBeLocal property (PR #99016)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 03:48:34 PDT 2024
================
@@ -769,6 +769,9 @@ class TargetExtType : public Type {
HasZeroInit = 1U << 0,
/// This type may be used as the value type of a global variable.
CanBeGlobal = 1U << 1,
+ /// This type may be allocated on the stack, either as the allocated type
+ // of an alloca instruction or as a byval function parameter.
----------------
nikic wrote:
```suggestion
/// of an alloca instruction or as a byval function parameter.
```
https://github.com/llvm/llvm-project/pull/99016
More information about the llvm-commits
mailing list