search for: something_a

Displaying 5 results from an estimated 5 matches for "something_a".

Did you mean: something_b
2012 Sep 10
5
[LLVMdev] Minimum Array Size
Hello, clang currently seems to generate the same code for both: double something_a(char A[const static 256]) { ... } and for: double something_b(char (*const A)) { ... } even though in the first case the programmer has told us that the array A is at least 256 bytes in length (and, thus, will not be null). Do we currently have a way to pass this information to LLVM? Thanks...
2012 Sep 11
2
[LLVMdev] Minimum Array Size
On Mon, 10 Sep 2012 17:40:43 -0700 Nick Lewycky <nicholas at mxc.ca> wrote: > Hal Finkel wrote: > > Hello, > > > > clang currently seems to generate the same code for both: > > > > double something_a(char A[const static 256]) { > > ... > > } > > > > and for: > > > > double something_b(char (*const A)) { > > ... > > } > > > > even though in the first case the programmer has told us that the > > array A is at least 256 bytes...
2012 Sep 11
0
[LLVMdev] Minimum Array Size
Hal Finkel wrote: > Hello, > > clang currently seems to generate the same code for both: > > double something_a(char A[const static 256]) { > ... > } > > and for: > > double something_b(char (*const A)) { > ... > } > > even though in the first case the programmer has told us that the array > A is at least 256 bytes in length (and, thus, will not be null). Do we > cur...
2012 Sep 11
0
[LLVMdev] Minimum Array Size
Hal Finkel wrote: > On Mon, 10 Sep 2012 17:40:43 -0700 > Nick Lewycky<nicholas at mxc.ca> wrote: > >> Hal Finkel wrote: >>> Hello, >>> >>> clang currently seems to generate the same code for both: >>> >>> double something_a(char A[const static 256]) { >>> ... >>> } >>> >>> and for: >>> >>> double something_b(char (*const A)) { >>> ... >>> } >>> >>> even though in the first case the programmer has told us that the >>...
2012 Sep 11
0
[LLVMdev] Minimum Array Size
On Mon, Sep 10, 2012 at 16:43:57 -0500, Hal Finkel wrote: > clang currently seems to generate the same code for both: > > double something_a(char A[const static 256]) { > ... > } > > and for: > > double something_b(char (*const A)) { > ... > } > > even though in the first case the programmer has told us that the array > A is at least 256 bytes in length (and, thus, will not be null). Is this real...