Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-enable-x86-dag-isel -enable-x86-fastcc crash #1071

Closed
llvmbot opened this issue Jan 20, 2006 · 4 comments
Closed

-enable-x86-dag-isel -enable-x86-fastcc crash #1071

llvmbot opened this issue Jan 20, 2006 · 4 comments
Labels
backend:X86 bugzilla Issues migrated from bugzilla miscompilation

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 20, 2006

Bugzilla Link 699
Resolution FIXED
Resolved on Feb 22, 2010 12:47
Version trunk
OS FreeBSD
Depends On llvm/llvm-bugzilla-archive#711
Attachments bugpoint reduced file
Reporter LLVM Bugzilla Contributor

Extended Description

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

@lattner
Copy link
Collaborator

lattner commented Jan 21, 2006

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

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jan 21, 2006

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

@llvmbot
Copy link
Collaborator Author

llvmbot commented Mar 19, 2006

*** Bug #1055 has been marked as a duplicate of this bug. ***

@lattner
Copy link
Collaborator

lattner commented Nov 27, 2021

mentioned in issue llvm/llvm-bugzilla-archive#711

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 bugzilla Issues migrated from bugzilla miscompilation
Projects
None yet
Development

No branches or pull requests

2 participants