From the 'treeadd' benchmark in llvm-test Crash occurs whether using the new isel or not. llc -enable-x86-fastcc -f bugpoint.test.bc-NA6QC9 -o bugpoint.test.bc-NA6QC9.s gcc ./bugpoint.safe.bc-LMANI1.cbe.c.so bugpoint.test.bc-NA6QC9.s -o bugpoint.test.bc-NA6QC9.exe -Wl,-R. bugpoint.test.bc-NA6QC9.exe 22 Adding -enable-x86-dag-isel has no effect
Created attachment 309 [details] bugpoint reduced file
Hey Evan, When you get a chance, can you look into this? Apparently -enable-x86-dag-isel -enable-x86-fastcc cause Olden/treeadd to miscompile. Note that bugpoint won't help (because the C backend doesn't understand fastcc), but treeadd is small so it should be theoretically easy to fix still :) -Chris
Here is a list of programs that fail with llc-beta + --enable-x86-fastcc and do not fail with llc. Hopefully some of these are tiny and therefore easy to debug :) 2005-05-11-Popcount-ffs-fls Puzzle aha allroots bc bh bigfib bintr bisort burg cfrac city cjpeg deriv1 deriv2 employ encode espresso exptree fhourstones fourinarow gs hash hbd health kc ks lambda lists main make_dparser mpeg2decode mst mybison ofstream_ctor pcompress2 perimeter pifft power random sgefa shapes sim smg2000 spellcheck toast treeadd treecc tsp voronoi yacr2
*** Bug 683 has been marked as a duplicate of this bug. ***