llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Couldn't join subrange unreachable for RegisterCoalescer remat

Open dstutt opened this issue 9 years ago • 3 comments

Bugzilla Link 33524
Resolution FIXED
Resolved on Jul 06, 2017 10:10
Version trunk
OS All
Attachments Test case
CC @arsenm

Extended Description

I'm seeing an issue for the AMDGCN backend (llc -march=amdgcn .ll) where the RegisterCoalescer hits unreachable for a SubRange join

I think I've narrowed this down to an issue in a remat (hence the name)

I've got a potential fix for this that I'll post to reviews.llvm.org (and link from here)

I've already verified that the fix doesn't make any difference to bug 33152 which superficially seems similar. bug 32773 may also be related

dstutt avatar Jun 20 '17 09:06 dstutt

https://reviews.llvm.org/D34391 now submitted

dstutt avatar Jul 06 '17 17:07 dstutt

Possibly the same as bug 33152

arsenm avatar Jun 20 '17 17:06 arsenm

See https://reviews.llvm.org/D34391 for a potential fix

dstutt avatar Jun 20 '17 09:06 dstutt