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

opt crash - Illegal Instruction #1239

Closed
llvmbot opened this issue Aug 3, 2006 · 3 comments
Closed

opt crash - Illegal Instruction #1239

llvmbot opened this issue Aug 3, 2006 · 3 comments
Labels
bugzilla Issues migrated from bugzilla

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 3, 2006

Bugzilla Link 867
Resolution FIXED
Resolved on Feb 22, 2010 12:51
Version trunk
OS MacOS X
Attachments test case
Reporter LLVM Bugzilla Contributor

Extended Description

Bugpoint produced this while trying to reduce test case for

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x035ce798 in llvm::isInstructionTriviallyDead (I=0xcb0e0e0) at Local.cpp:328
328 if (!I->mayWriteToMemory()) return true;

I am not sure this smaller test cause produces same crash or not. But in any case it causes Illegal
Instruction

$ opt lgc.bc -load-vn -gcse -simplifycfg

@lattner
Copy link
Collaborator

lattner commented Aug 3, 2006

verified, I'll take a look

@lattner
Copy link
Collaborator

lattner commented Aug 4, 2006

Fixed.  Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060731/036482.html

Testcase here:
Transforms/SimplifyCFG/2006-08-03-Crash.ll

-Chris

@lattner
Copy link
Collaborator

lattner commented Aug 4, 2006

*** Bug llvm/llvm-bugzilla-archive#868 has been marked as a duplicate of this bug. ***

@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
Projects
None yet
Development

No branches or pull requests

2 participants