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 <glei...@gmail.com>:
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Thank you for your reply.
I did not try with VS2010, maybe the issue is only with VS2009 (and/or some
SP). As it works in Debug mode, at first sight I would say it is a project
configuration issue?
I have done some little debugging, and it seems to crash in the function
LiveVariable::runOnMachineFunction, on the call to VirtRegInfo[Reg].
In the assembly code, we can see the compiler first checks that the Reg
variable is in the range of the VirtRegInfo map, but it says no... although
a call to VirtRegInfo.inBounds(Reg) returns true!
Just as if the test in the assembly code was not done on the correct
value... so I try to add a volatile keyword on the Reg variable declaration,
and then it works correctly (I have replaced all variable handling the
result of TargetRegisterInfo::index2VirtReg with a volatile variable)...
...but no idea why it is working with this change :/
Damien
--
View this message in context: http://old.nabble.com/LLVM-2.9-64bits-on-Visual-Studio-9-tp32241633p32325469.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.