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 26991 - Assertion failure in register coalescer with AMDGPU backend
Summary: Assertion failure in register coalescer with AMDGPU backend
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Register Allocator (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Matthias Braun
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 18:15 PDT by Tom Stellard
Modified: 2016-03-24 16:42 PDT (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments
Failing test case (3.60 KB, application/octet-stream)
2016-03-18 18:15 PDT, Tom Stellard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Stellard 2016-03-18 18:15:37 PDT
Created attachment 16050 [details]
Failing test case

I'm seeing an assertion failure with the attached testcase:

llc: ../include/llvm/CodeGen/SlotIndexes.h:124: llvm::IndexListEntry* llvm::SlotIndex::listEntry() const: Assertion `isValid() && "Attempt to compare reserved index."' failed.

To reproduce:

llc -mtriple=amdgcn--amdhsa -mcpu=fiji amdgpu-coalescer-assert.ll -o -  -verify-machineinstrs
Comment 1 Matthias Braun 2016-03-24 16:42:24 PDT
Fixed in r264345