[llvm-dev] Node emitted out of order - late
Nagaraju Mekala via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 27 04:04:16 PDT 2019
I am porting an embedded 32bit RISC processor to LLVM-8.
I was able to compile few basic applications successfully but for a
particular application I am seeing below error:
unsigned int llvm::InstrEmitter::getVR(llvm::SDValue,
llvm::DenseMap<llvm::SDValue, unsigned int>&): Assertion `I !=
VRBaseMap.end() && "Node emitted out of order - late"' failed
I tried debugging it and found that CopyToReg is trying to use virtual
register and somehow matching with "VRBaseMap.end()" as a result it is
Can someone please help me out from this?
I am really struck on this.
Thanks in advance
More information about the llvm-dev