Displaying 5 results from an estimated 5 matches for "sjosef".
Did you mean:
josef
2011 Mar 15
2
[LLVMdev] mblaze backend: unreachable executed
On Mar 15, 2011, at 1:50 PM, Andreas Färber wrote:
> Hello,
>
> Running the Debug+Asserts version instead of the Release should give you the file and line of the "unreachable" code.
>
> Andreas
Thanks for the suggestion. I recompiled with Debug+Asserts and it shows that the unreachable is in CallingConvLower.cpp:162. Here is the error message:
Call result #2 has
2011 Mar 24
0
[LLVMdev] mblaze backend: unreachable executed
Okay, I've done a lot more testing and I now have a .bc file that compiles for x86, sparc, mips but refuses to compile for the mblaze and powerPC backends because of the calling convention. Is there anyone that would know how to fix the microblaze calling convention or point me in the right direction on how to fix it?
The lines in the .bc that I believe to be causing the problem are the
2011 Mar 24
0
[LLVMdev] mblaze backend: unreachable executed
>
> what does "refuses to compile" mean? I.e. what error do you get?
>
Specifically I get this message when compiling with the default -mattr:
Call result #2 has unhandled type i32
UNREACHABLE executed at CallingConvLower.cpp:162!
0 llc 0x0000000100a1e115 PrintStackTrace(void*) + 38
1 llc 0x0000000100a1e6d0 SignalHandler(int) + 254
2
2011 Mar 15
3
[LLVMdev] mblaze backend: unreachable executed
>> I don't think my backend is modified enough from the MBlaze backend that is
>> in the release to be causing this error. I am however looking through the
>> various files of the backend to try to find where the calling convention
>> might be causing problems with f32 data types.
> Form the backtrace it seems like you haven't defined how to return f32
> stuff
2011 Mar 15
3
[LLVMdev] mblaze backend: unreachable executed
Hello,
I am working on a backend for a custom ISA that is somewhat similar to the MicroBlaze ISA so I've decided to use that as a starting point. I am trying to compile a custom ray tracer (lots of floating point) and the llvm-g++ frontend generates an fneg instruction which is not supported by the MBlaze backend in the 2.8 release. I added code to emit an fneg assembly instruction and now