Displaying 3 results from an estimated 3 matches for "316308".
Did you mean:
31308
2008 Oct 22
1
optim bug/help?
In the documentation for 'optim' it gives the following function:
fr <- function(x) { ## Rosenbrock Banana function
x1 <- x[1]
x2 <- x[2]
100 * (x2 - x1 * x1)^2 + (1 - x1)^2
}
optim(c(-1.2,1), fr)
When I run this code I get:
$par
[1] 1.000260 1.000506
I am sure I am missing something but why isn't 1,1 a better answer? If I plug 1,1 in the function it seems
2017 Oct 25
3
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
Hi LLVM developers,
$ cat hello.c
#include <stdio.h>
void foo() {
}
int main(int argc, char *argv[]) {
for (int i = 0; i < 10; i++) {
printf("%d\n", i);
}
return 0;
}
$ /opt/llvm-svn/bin/clang --version
Fedora clang version 6.0.0 (trunk 316308) (based on LLVM 6.0.0svn)
Target: x86_64-redhat-linux
Thread model: posix
InstalledDir: /opt/llvm-svn/bin
$ /opt/llvm-svn/bin/clang -Xclang -disable-O0-optnone -S -emit-llvm
hello.c -o hello2.ll
$ cat hello2.ll
; ModuleID = 'hello.c'
source_filename = "hello.c"
target datalayou...
2017 Oct 26
2
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
...oo() {
>> }
>>
>> int main(int argc, char *argv[]) {
>> for (int i = 0; i < 10; i++) {
>> printf("%d\n", i);
>> }
>> return 0;
>> }
>>
>> $ /opt/llvm-svn/bin/clang --version
>> Fedora clang version 6.0.0 (trunk 316308) (based on LLVM 6.0.0svn)
>> Target: x86_64-redhat-linux
>> Thread model: posix
>> InstalledDir: /opt/llvm-svn/bin
>>
>> $ /opt/llvm-svn/bin/clang -Xclang -disable-O0-optnone -S -emit-llvm
>> hello.c -o hello2.ll
>>
>> $ cat hello2.ll
>> ; Modu...