Displaying 20 results from an estimated 1000 matches similar to: "can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help"
2018 Sep 22
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
first: thank you for helping out
>I might try compiling your source from the VS's Developer Command Prompt:
>cmake --build . --target Fibonacci
>Does this work?
call "C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
cd llvm-build
cmake --build . --config Debug --target Fibonacci
building Fibonacci example works BUT
2018 Sep 10
15
[7.0.0 Release] rc3 has been tagged
Dear testers,
7.0.0-rc3 was just tagged (from branch revision r341805).
No further release candidates are currently planned, so this is a
release candidate in the real sense: unless any serious issues
surface, this is what the final release will look like.
Please run the test script, share your results and upload binaries.
Please also take a look at the release notes and other docs; small
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
my build environment:
Win7 x64
VStudio 2017 Community Edition 15.8.4 (latest)
CMake 3.12.1 (x86)
git 2.19.0 (latest, x64)
Python 2.7.2 (x86)
my build steps:
open VS2017 x64 developer command prompt
cd D:\projects\fun\jit_tests
mkdir llvm
cd llvm
git clone https://github.com/llvm-mirror/llvm
mkdir llvm-build
cd llvm-build
cmake -G "Visual Studio 15 2017 Win64" -DBUILD_SHARED_LIBS=ON
2018 May 30
4
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
Introduction
============
`SROA' is an early stage pass running at the very beginning of the
pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
shows SROA on function as one of the major culprits of Debug Info
loss.
With debugify-each partially done I tried testing this on the
amalgamated sqlite source.
The steps are as follows:
,----
| # generate
2018 May 30
0
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
>
>
> `SROA' is an early stage pass running at the very beginning of the
> pipeline in `-O{1,2,3}'. Greg Bedwell's report from his DExTer tool
> shows SROA on function as one of the major culprits of Debug Info
> loss.
>
>
The methodology I used is with the opt-bisect-limit option on clang, so
it's not strictly the case that the results presented
2011 Apr 20
5
Fibonacci
Hi!
I am trying to work out the code to get a Fibonacci sequence, using the
while() loop and only one variable. And I can't figure it out.
Fibonacci<-c(1,1)
while (max(Fibonacci)<500){
Fibonacci<-c(Fibonacci, (max(Fibonacci) + ?(Fibanacci)))
}
How can I tell R to take the value one before the max value? (Without
defining another variable)
(Probably super easy... I am a
2011 Aug 11
2
[LLVMdev] LLVM 2.9 64bits on Visual Studio 9
Hello everybody,
I have sucessfully compiled LLVM with CMAKE generator "Visual Studio 9 2008
Win64" (OS Windows 7).
-But when I run the Fibonacci example program in "release" mode, I get a
crash with this visual studio popup message :
Microsoft Visual Studio C Runtime Library has detected a fatal error in
Fibonacci.exe.
-Here is the visual studio output:
2011 Aug 15
0
[LLVMdev] LLVM 2.9 64bits on Visual Studio 9
FYI, I have confirmed it works on VS10SP1 with x64|Release.
E:\llvm\build\cmake-x64-vs10>bin\Release\Fibonacci.exe 24
verifying... OK
We just constructed this LLVM module:
---------
; ModuleID = 'test'
(snip)
---------
starting fibonacci(24) with JIT...
Result: 46368
...Takumi
2011/8/11 <gleizesd at gmail.com>:
> Hello everybody,
>
> I have sucessfully compiled LLVM
2007 Sep 05
2
[LLVMdev] Seeing a crash with ConstantFP::get
Hola LLVMers,
I'm getting a crash when using ConstantFP::get.
I can repro it by adding one line to the Fibonacci example program:
int main(int argc, char **argv) {
int n = argc > 1 ? atol(argv[1]) : 24;
// Create some module to put our function into it.
Module *M = new Module("test");
// We are about to create the "fib" function:
Function
2007 Sep 05
2
[LLVMdev] Seeing a crash with ConstantFP::get
It's in debug. I'm having a look at the assembler it's producing right
now and it's definitely a little odd for what should be a simple
assignment in zeroSignificand.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Dale Johannesen
Sent: Wednesday, September 05, 2007 2:39 PM
To: LLVM Developers Mailing
2004 Feb 03
3
Implementating streams in R
Dear all,
I have an implementation of streams in R. The current implementation of
delay() and force() is
inspired from the LISP implementation found in Part VI "Languages for AI
problem solving" of
"Artificial Intelligence" by G. Luger.
I have tested it with the Fibonacci example in the same book (see examples
below). It works
but I do run into a problem when I try to
2007 Sep 05
0
[LLVMdev] Seeing a crash with ConstantFP::get
On Sep 5, 2007, at 2:21 PM, Chuck Rose III wrote:
> Hola LLVMers,
>
>
>
> I’m getting a crash when using ConstantFP::get.
>
>
>
> I can repro it by adding one line to the Fibonacci example program:
>
>
>
> int main(int argc, char **argv) {
>
> int n = argc > 1 ? atol(argv[1]) : 24;
>
>
>
> // Create some module to put our function
2007 Sep 06
0
[LLVMdev] Seeing a crash with ConstantFP::get
Hola Dale,
I spent some time walking through what's going on with a friend of mine
from VStudio. Category is given 2 bits in the APFloat class definition.
It's sign extending the enum value for the comparisons when it loads it
out of the class, so the 2 becomes a -2 and the comparison fails. He
sent me a piece of code which I might be able to use to force the issue.
I'll update
2010 Nov 21
3
[LLVMdev] Running Examples
Hi guys,
I'm new on LLVM (and linux, and gcc and so on) and I'd like to know how to
run and test LLVM projects. I've downloaded, installed and tested LLVM
tools, such as llvm-gcc, llc, lli etc. But I don't know how to test examples
provided.
I just called "sudo make" inside "llvm/examples/fibonacci/", what generated
a directory named "Release"
2002 Apr 09
1
Fortran (77) in R
Hi,
I'm learning Fortran and trying to load a Fortran subroutine into R.
I've done:
R SHLIB Fibonacci.f
and it compiled fine.
Then I went into R and done:
> dyn.load("Fibonacci.so")
> Fib <- function(n) {
+ .Fortran("Fibonacci",
+ as.integer(n))[[1]]
+ }
> Fib(5)
Error in .Fortran("Fibonacci", as.integer(n)) :
2002 Oct 26
2
Fortran
Hello everybody,
Could someone please send me a very simple example using Fortran from
R? Say pass a value to an executable and get the result in R. Actually it
seems it may be possible to call an *.f file ?? or I am wrong again?
The manual is very terse on the subject.
Thank you very much
Stephen Elijah
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2004 Nov 05
2
[LLVMdev] Re: LLVM Visual Studio Project files
Like I said, it is in my path. That's not enough. I'd be happy if
Morten chimed in with any suggestions as to how he got it to work.
On Thu, 04 Nov 2004 18:45:18 -0800
Reid Spencer <reid at x10sys.com> wrote:
> Two suggestions:
>
> 1. m4 might be located by your PATH variable.
> 2. Talk to Morten Ofstad about how he got it to work.
>
> Reid.
>
> On
2007 May 16
2
[LLVMdev] generating ELF shared object, C code, from a module like Fibionnaci
Hello
Apparently the file llvm/examples/Fibonacci/fibonacci.cpp generate JIT code
without explicitly doing any pass (but I suppose that internally, compiler
passes are running!) - is there a dissymetry between JIT machine code
generation in memory, and C or ELF shared object generation in files? I
thought that all these shared a lot of LLVM infrastructure and happen
similarily!
Also, the
2004 Nov 05
0
[LLVMdev] Re: LLVM Visual Studio Project files
Solved it. Looking at the source of bison, I found an undocumented
environment variable M4 that points to the m4 binary. Setting it to the
absolute path did the job. When not present, it ought to find it in the
path as it uses execvp. At least on Unix. I have no idea what it does
on Windows as I could not get the source used to build the Windows
version (the installer claimed it installed the
2008 Dec 31
1
[LLVMdev] Win32 JIT issue + bug in ScheduleDAGSNodes.h?
Óscar Fuentes wrote:
> srs <skaflotten at gmail.com> writes:
>
>
>>>>> Try adding this to the link command of your executable:
>>>>>
>>>>> /INCLUDE:_X86TargetMachineModule
>>>>>
>>>>> I should document this somehow.
>>>>>
>>>>>
>>>> Yeah, this is