Great! Are there other issues I should be aware of? Félix Le 2010-11-25 à 07:43:23, Anton Korobeynikov a écrit :> Hello Felix > >> I have a project in mind that involves using the JIT for a few targets (x86 >> and x86_64 processors on Mac OS, Linux and Windows). However, there is an >> open bug that says LLVM generates incorrect code for Win64. >> Eli's last comment on the bug, however, says that it appears to be fixed. >> I don't have a Win64 box to test it. Can someone confirm that it now works >> (or still doesn't)? > Yes, this particular issue was workarounded, so stuff works fine on ToT. > > --- > With best regards, Anton Korobeynikov > Faculty of Mathematics and Mechanics, Saint Petersburg State University
Felix,> Great! Are there other issues I should be aware of?There might be some issues wrt tailcalls, but I'd not expect anything else to be major broken. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Tailcall and fastcc might be broken on Win64. for example, test/CodeGen/X86/tailcallbyval64 should not be converted with Win64 CC. Bug 8743 - Register allocation is invalid with Win64 tailcall jump http://llvm.org/bugs/show_bug.cgi?id=8743 IMHO, Win64 CC should be separated and "fastcc" should be guaranteed to convert tailjmp. FYI, I am trying to build x64 clang/llvm toolchain with clang. (I don't use mingw64-gcc as compiler) It seems a few issues might be there (on llvm). When I built *fine* clang, I could tweak Win64 tests on. ...Takumi
Reasonably Related Threads
- [LLVMdev] Is the Win64 codegen issue fixed?
- [LLVMdev] X86 -tailcallopt and C calling conversion
- [LLVMdev] X86 -tailcallopt and C calling conversion
- [LLVMdev] Broke my tail (call)
- [LLVMdev] Running "make check" on Windows yields lots of unwarrented unexpected failures (HTML free this time:-)