[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
Hi All,
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:
llvm-project/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp:317:
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
crashing.
Can someone please help me out from this?
I am really struck on this.
Thanks in advance
Nagaraju
More information about the llvm-dev
mailing list