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 4734 - -loop-rotate produces invalid code
Summary: -loop-rotate produces invalid code
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Loop Optimizer (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 11:47 PDT by Rafael Ávila de Espíndola
Modified: 2009-08-18 11:04 PDT (History)
6 users (show)

See Also:
Fixed By Commit(s):


Attachments
testcase (33.85 KB, application/octet-stream)
2009-08-17 11:47 PDT, Rafael Ávila de Espíndola
Details
script that demonstrates the problem (603 bytes, application/x-sh)
2009-08-17 11:47 PDT, Rafael Ávila de Espíndola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Ávila de Espíndola 2009-08-17 11:47:06 PDT
Created attachment 3331 [details]
testcase

Running opt -loop-rotate transforms a program that runs correctly into one that
produces a segmentation fault.
Comment 1 Rafael Ávila de Espíndola 2009-08-17 11:47:44 PDT
Created attachment 3332 [details]
script that demonstrates the problem
Comment 2 Rafael Ávila de Espíndola 2009-08-18 10:19:47 PDT
Looks like this was introduced by revision 78890.
Comment 3 Rafael Ávila de Espíndola 2009-08-18 11:04:06 PDT
In the end it looks like this is a duplicate of 4735. It is fixed now.