[LLVMdev] LLVM Assembly code

Manvi Agarwal manvi at cadl.iisc.ernet.in
Wed Jun 22 12:08:16 PDT 2005


Hi,

I have generated llvm assembly file using following commands:
llvm-ld main.o fir.o
llvm-dis a.out.bc

I get a.out.ll as the llvm assembly file. When i go through this assembly
file I come across the following code
fir.entry:		; preds = %loopexit.1.i
	call void %print( sbyte* getelementptr ([2 x sbyte]* %.str_3, int
0, int 0), float* getelementptr ([97 x float]* %y, int 0, int 0), int 97 )
	call void %exit( int 0 )
	unreachable


Can anybody please tell me what is meant by "unreachable"? The output is
coming fine.

Regards,
manvi




More information about the llvm-dev mailing list