bagel99 / llvm-my66000

This is a fork of the LLVM project. The code in branch my66000 supports Mitch Alsup's MY66000. The code in branch mcore supports the Motorola MCore.
http://llvm.org
Other
2 stars 2 forks source link

Internal compiler error: "Cannot select" #10

Closed tkoenig1 closed 1 year ago

tkoenig1 commented 1 year ago

With the newest version. This is bessel.c from GSL.

LLVM ERROR: Cannot select: t66: i64 = ConstantPool<[2 x double] [double 0.000000e+00, double 1.000000e+00]> 0 In function: gsl_sf_bessel_JY_mu_restricted PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump:

  1. Program arguments: llc --disable-lsr --enable-predication --enable-predication2 --enable-carry-generation --early-carry-coalesce --enable-vvm -march=my66000 bessel_opt.bc
  2. Running pass 'Function Pass Manager' on module 'bessel_opt.bc'.
  3. Running pass 'My66000 DAG->DAG Pattern Instruction Selection' on function '@gsl_sf_bessel_JY_mu_restricted'

bessel.zip

tkoenig1 commented 1 year ago

Also goes away if the function is compiled for my66000.