[LLVMbugs] Problem with PatternMatch.h

Vladimir Merzliakov wanderer at rsu.ru
Fri Jul 30 07:21:16 PDT 2004


Compile current CVS LLVM sources break at error:

In file included from
/home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Scalar/InstructionComb
ining.cpp:51:
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Support/PatternMatch.h:
In member function `bool
llvm::PatternMatch::neg_match<LHS_t>::match(OpTy*)':
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Support/PatternMatch.h:1
95: error: `I' was not declared in this scope
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Support/PatternMatch.h:
In member function `bool
llvm::PatternMatch::neg_match<LHS_t>::matchIfNeg(llvm::Value*,
llvm::Value*)':
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Support/PatternMatch.h:2
05: error: `Bop' was not declared in this scope
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Support/PatternMatch.h:2
05: error: no matching function for call to `llvm::ConstantFP::get(<type
error>, double&)'
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/Constants.h:265: note:
candidates are: static llvm::ConstantFP* llvm::ConstantFP::get(const
llvm::Type*, double)






More information about the llvm-bugs mailing list