Displaying 3 results from an estimated 3 matches for "junk___init_module_get_args_3".
2013 Nov 09
4
[LLVMdev] Error "Cannot emit physreg copy instruction"
...ibc_start_main + 237
15 llc 0x0000000000409ae1
Stack dump:
0. Program arguments: /opt/llvm/install/bin/llc err.ll -o err.s
1. Running pass 'Function Pass Manager' on module 'err.ll'.
2. Running pass 'Post-RA pseudo instruction expansion pass' on function
'@junk___init_module_get_args_3'
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
; ModuleID = 'test'
%0 = type { i64, void (i8*)*, i1 (...
2013 Nov 09
0
[LLVMdev] Error "Cannot emit physreg copy instruction"
I've reduced the example down to a minimum. The error is quite
perplexing since the IR appears fine. It is a nonsensical infinite loop
now, but that shouldn't be a problem.
declare i64 @leaf_exception_personality(i64, i32, i64, i8*, i8*)
declare i8* @count_malloc(i64)
define internal i8 @junk___init_module_get_args_3() #0 {
entry:
%_exception = alloca { i8*, i64 }
%ignore0 = invoke i8* @count_malloc(i64 10)
to label %loop_cond_7 unwind label %defer_error_land_4
defer_error_land_4:
%lpres = landingpad { i8*, i64 } personality i64 (i64, i32, i64, i8*,
i8*)* @leaf_exception_personality
c...
2013 Nov 09
0
[LLVMdev] Error "Cannot emit physreg copy instruction"
...lc 0x0000000000409ae1
> Stack dump:
> 0. Program arguments: /opt/llvm/install/bin/llc err.ll -o err.s
> 1. Running pass 'Function Pass Manager' on module 'err.ll'.
> 2. Running pass 'Post-RA pseudo instruction expansion pass' on function
> '@junk___init_module_get_args_3'
>
> --
> edA-qa mort-ora-y
I agree that this is an especially hard issue to diagnose, as I have
had issues with it in the recent past. At that time, I was not able to
find a good way to trace the COPY pseudo to a particular statement in
the IR. But, I digress...
The UNREACHABLE you...