[PATCH] D23652: [mips] N64 static relocation model support

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 14:37:07 PDT 2016


sdardis added a comment.

Looking at this, it's MipsSEDAGToDAGISel::replaceUsesWithZeroReg making an unguarded assumption that an instruction such as daddiu $X, $zero always has an immediate for its third operand (natural counting). The test case supplied has a global address instead of an immediate, triggering the failure.


https://reviews.llvm.org/D23652





More information about the llvm-commits mailing list