Displaying 2 results from an estimated 2 matches for "getpromotedtype".
2012 May 05
0
[LLVMdev] how compile subproject
...nk llvm
cd llvm/
mkdir build
cd build/
../configure --enable-jit
make # OK, everything went fine.
cd ../lib/Transforms/InstCombine/ # Just to test
vim InstCombineCalls.cpp # added `if (0 == 1) return 0;` at getPromotedType(...)
cd ../../../build/
make ONLY_TOOLS="lli"
error:
llvm[3]: Compiling InstCombineCalls.cpp for Debug+Asserts build
/home/beckert/workspace/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp: In function ‘llvm::Type* getPromotedType(llvm::Type*)’:
/home/beckert/workspace/llvm/lib/Tr...
2012 May 04
2
[LLVMdev] how compile subproject
> Neither worked. =(
Hmm. Something seems to have gone horribly wrong then. I've just
reproduced Peter's suggestion on the autoconf build and it worked
fine. Perhaps try a clean build out of tree:
CMake:
mkdir my_special_build_dir
cd my_special_build_dir
cmake $PATH_TO_LLVM_SOURCE
make llc
Autotools:
mkdir my_special_build_dir
cd my_special_build_dir
$PATH_TO_LLVM_SOURCE/configure