Displaying 2 results from an estimated 2 matches for "23function".
Did you mean:
20function
2017 Oct 23
3
maximum value for alignstack function attribute?
I have this test case in my frontend, which is triggering an assert in llvm
master branch:
fn fnWithAlignedStack() -> i32 {
@setAlignStack(1024);
return 1234;
}
It sets alignstack=1024 in the function attributes (see
http://llvm.org/docs/LangRef.html#function-attributes). It's tripping an
assert:
llvm/lib/IR/Attributes.cpp:134: static llvm::Attribute
2015 Jul 27
3
[LLVMdev] Adding a stack probe function attribute
Yeah, the function attributes section of LangRef is a reasonable place to
put stuff like this:
http://llvm.org/docs/LangRef.html#function-attributes
I think we should add this. I also know that LLILAC needs something like
this as well. I propose the following:
- Add a string attribute called "stack-probe-symbol"="foo".
- The presence of this attribute indicates that stack