Displaying 3 results from an estimated 3 matches for "25ea056f".
2013 Jul 22
0
[LLVMdev] Does nounwind have semantics?
Hi Andrew,
On 22/07/13 02:56, Andrew Trick wrote:
> Does 'nounwind' have semantics that inform optimization passes? It seems to in some cases, but not consistently. For example...
>
> int32_t foo(int32_t* ptr) {
> int i = 0;
> int result;
> do {
> bar(ptr);
> result = *ptr;
> bar(ptr);
> } while (i++ < *ptr);
> return
2013 Jul 22
2
[LLVMdev] Does nounwind have semantics?
...___
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130722/25ea056f/attachment.html>
2013 Jul 22
6
[LLVMdev] Does nounwind have semantics?
Does 'nounwind' have semantics that inform optimization passes? It seems to in some cases, but not consistently. For example...
int32_t foo(int32_t* ptr) {
int i = 0;
int result;
do {
bar(ptr);
result = *ptr;
bar(ptr);
} while (i++ < *ptr);
return result;
}
Say we have a front end that declares bar as...
declare void @bar(i32*) readonly;
So 'bar' is