[LLVMdev] Disable the Module Verifier pass?

Zheng Wang jason.wangz at gmail.com
Tue Apr 20 02:15:46 PDT 2010


Hello,

Is there anyway to disable the module verifier pass (in llvm-ld and llc)?

I got an error as " Instruction does not dominate all uses!".
Obviously, there must be something wrong. The module verifier simply
aborts `llvm-ld` instead of generating bytecode. If somehow I can
disable the module verifier, then I can use llc to produce LLVM
assembly code for my program. This will help me to debug my pass.

Cheers
Zheng



More information about the llvm-dev mailing list