[LLVMdev] Error compiling ConstantProp.cpp

Eli Friedman eli.friedman at gmail.com
Sat Apr 16 17:18:51 PDT 2011


On Sat, Apr 16, 2011 at 5:07 PM, tarun agrawal <tarun at cse.iitb.ac.in> wrote:
> While compiling the ConstantProp.cpp I am getting the following error.
>
> error: too few arguments to function ‘llvm::Constant*
> llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const
> llvm::TargetData*)

If you're reporting a build error, please include the complete error
output and the source version you're using (release version or SVN
revision).

-Eli




More information about the llvm-dev mailing list