[LLVMdev] LiveValues Pass
gohman at apple.com
Mon Jun 8 11:26:00 PDT 2009
You are apparently mixing source between different versions of LLVM.
On Jun 6, 2009, at 1:12 AM, Rotem Varon wrote:
> I tried to use the LiveValues pass without success.
> I did exactly as you wrote me but no luck for me.
> I am getting this error :
> [rotem at localhost ~]$ opt -load /home/rotem/Desktop/install/Release/
> lib/BBPass.so -BBPass < /home/rotem/Desktop/tmp/BBtry.bc > /dev/null
> Error opening '/home/rotem/Desktop/install/Release/lib/BBPass.so': /
> home/rotem/Desktop/install/Release/lib/BBPass.so: undefined symbol:
> -load request ignored.
> opt: Unknown command line argument '-BBPass'. Try: 'opt --help'
> I tried also to relocate the LiveValues to the same directory of me
> pass. This is the error:
> llvm: Compiling BBPass.cpp for Release build (PIC)
> llvm: Compiling LiveValues.cpp for Release build (PIC)
> LiveValues.cpp: In member function 'llvm::LiveValues::Memo&
> llvm::LiveValues::compute(const llvm::Value*)':
> LiveValues.cpp:150: error: 'const class llvm::PHINode' has no member
> named 'getIncomingValueNumForOperand'
> I really need your help here
> Thank you.
More information about the llvm-dev