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

[eh] branchfolding inf recursion with EH enabled #1600

Closed
asl opened this issue Feb 26, 2007 · 7 comments
Closed

[eh] branchfolding inf recursion with EH enabled #1600

asl opened this issue Feb 26, 2007 · 7 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen

Comments

@asl
Copy link
Collaborator

asl commented Feb 26, 2007

Bugzilla Link 1228
Resolution FIXED
Resolved on Feb 22, 2010 12:52
Version trunk
OS All
Blocks #964
Attachments Failed bytecode

Extended Description

Attached bytecode (probably) cycles and consumes all available memory.

Reproduce with:

ulimit -v 512000
llc -enable-eh locale.bc

@asl
Copy link
Collaborator Author

asl commented Feb 26, 2007

assigned to @lattner

@asl
Copy link
Collaborator Author

asl commented Feb 26, 2007

Err, not bytecode, but llc cycles :)

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 26, 2007

BranchFolding::OptimizeBlock recursing infinitely. Likely problem handling landing pad. This code is
currently evolving.

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 30, 2007

@asl
Copy link
Collaborator Author

asl commented Apr 30, 2007

Updated testcase
Bytecode is not valid anymore due to format change. Attaching source.

@lattner
Copy link
Collaborator

lattner commented May 1, 2007

Fixed, patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070430/048754.html

Testcase here:
CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll

-Chris

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 27, 2021

mentioned in issue #964

@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
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen
Projects
None yet
Development

No branches or pull requests

3 participants