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 33833 - SelectionDAG crashes on optnone function after r308025
Summary: SelectionDAG crashes on optnone function after r308025
Status: RESOLVED DUPLICATE of bug 32515
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: unspecified
Hardware: PC Linux
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-18 00:49 PDT by Chandler Carruth
Modified: 2017-07-18 10:43 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
reduced IR test case (2.89 KB, text/plain)
2017-07-18 00:49 PDT, Chandler Carruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chandler Carruth 2017-07-18 00:49:08 PDT
Created attachment 18814 [details]
reduced IR test case

After r308025, SelectionDAG crashes while compiling the file:
https://github.com/xiph/speex/blob/master/libspeex/testenc.c

(Possibly some older version of it, I haven't checked...)

I'm attaching a minimized test case that pretty clearly shows the bug. It seems specific to O0 (optnone attribute is applied).

Because this is blocking even unoptimized builds I'm going to revert the patch while it gets investigated.
Comment 1 Nirav Dave 2017-07-18 10:43:29 PDT

*** This bug has been marked as a duplicate of bug 32515 ***