LLVM ERROR: Cannot yet select: 0x1fcc5f0: f64 = ConstantFP<0.000000e+00> [ID=4]

  1. My configuration:
    OS: ubuntu11.04,
    CPU: Intel(R) Core™ i5-2410M CPU @ 2.30GHz
    llvm: llvm-2.8

  2. My running environment:
    ~#llvm-gcc -DCOMPDATE=“today” -DCFLAGS=“” -DHOSTNAME=“thishost” -DNeedFunctionPrototypes=1 -DSASR -DPROBES=8 -O3 -emit-llvm /home/qali/Develop/Benchmark/MultipleSource/FreeBench/distray/distray.c -o /home/qali/Develop/Benchmark/MultipleSource/FreeBench/distray/distray.bc

~#/home/qali/Build/llvm-2.8-ori/Debug+Asserts/bin/llc -print-before-all main_opt.bc -o main_opt.s

Then, the following error happens:

# *** IR Dump Before X86 DAG->DAG Instruction Selection ***:
# Machine code for function DistribVector:

# End machine code for function DistribVector.

LLVM ERROR: Cannot yet select: 0x1fcc5f0: f64 = ConstantFP<0.000000e+00> [ID=4]

Could anyone give some advice?

llvm: llvm-2.8

...

*LLVM ERROR: Cannot yet select: 0x1fcc5f0: f64 = ConstantFP<0.000000e+00> [ID=4]*

Could anyone give some advice?

Try a more recent version of LLVM?

Ciao, Duncan.