Index: llvm/lib/CodeGen/RegAllocGreedy.cpp =================================================================== --- llvm/lib/CodeGen/RegAllocGreedy.cpp +++ llvm/lib/CodeGen/RegAllocGreedy.cpp @@ -461,9 +461,6 @@ if (!Intf->overlaps(Start, End)) continue; - // Cannot evict non virtual reg interference. - if (!Register::isVirtualRegister(Intf->reg())) - return false; // Never evict spill products. They cannot split or spill. if (ExtraInfo->getStage(*Intf) == RS_Done) return false;