LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 312 - [indvar] crash involving constant folding and scalar evolution rewriter
Summary: [indvar] crash involving constant folding and scalar evolution rewriter
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Global Analyses (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2004-04-05 13:33 PDT by Misha Brukman
Modified: 2010-02-22 12:48 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
crashes -indvars pass (25.37 KB, text/plain)
2004-04-05 13:33 PDT, Misha Brukman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Misha Brukman 2004-04-05 13:33:12 PDT
% llvm-as bugpoint.ll | opt -indvars

crashes on the attached file.
Comment 1 Misha Brukman 2004-04-05 13:33:50 PDT
Created attachment 105 [details]
crashes -indvars pass

% llvm-as bugpoint.ll | opt -indvars

*CRASH*
Comment 2 Chris Lattner 2004-04-05 13:48:05 PDT
Fixed: note to self: invoke instructions return values too, despite the fact
that they are terminators.

Testcase here: IndVarsSimplify/2004-04-05-InvokeCastCrash.llx

Patch here:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040405/013504.html

-Chris