[LLVMdev] The nearest basic block being dominated by all used values.
Zheng Wang
jason.wangz at gmail.com
Tue Apr 27 06:38:32 PDT 2010
Hello,
Presumably I have two value v1 and v2 from two different basic block A
and B. Now I need to insert to a printf to print those two values at
the same time.
This means I need to find a basic block to insert such a calling
isntruction and at the same time, the basic block should be dominated
by v1 and v2. Is there any easy way to find such a basic block?
Cheers,
Zheng
More information about the llvm-dev
mailing list