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

switch lowering crash #1695

Closed
lattner opened this issue Apr 13, 2007 · 3 comments
Closed

switch lowering crash #1695

lattner opened this issue Apr 13, 2007 · 3 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen

Comments

@lattner
Copy link
Collaborator

lattner commented Apr 13, 2007

Bugzilla Link 1323
Resolution FIXED
Resolved on Feb 22, 2010 12:48
Version 1.0
OS All
Attachments testcase
CC @asl

Extended Description

it looks like switch lowering is creating an invalid phi node. To reproduce, use:

$ llvm-as < bugpoint-reduced-simplified.ll | llc -fast

This seems to only occur with -fast. Maybe switch lowering depends on critical edges being split or
something? -fast is used for -O0 compiles.

-Chris

@lattner
Copy link
Collaborator Author

lattner commented Apr 13, 2007

assigned to @asl

@asl
Copy link
Collaborator

asl commented Apr 13, 2007

Mine

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
troelsbjerre pushed a commit to troelsbjerre/llvm-project that referenced this issue Jan 10, 2024
…baa2d66193f2d610492be6

[lldb] Only check for --apple-sdk argument on Darwin
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

2 participants