[LLVMdev] Instruction does not dominate all uses ???

Chayan Sarkar chayan.ju at gmail.com
Tue Jun 22 22:22:34 PDT 2010


I am trying to write a small pass. In my pass, I have inserted some
instruction and used that in another. But, during OPT it is  showing
"Instruction does not dominate all uses" like following -

%b.1 = bitcast i32 4 to i32                     ; <i32> [#uses=8]  %11
= add i32 %a.1, %b.1                        ; <i32>
[#uses=1]Instruction does not dominate all uses!

Any idea, what is wrong with this?


More information about the llvm-dev mailing list