Add a diagnostic string to an assert.

This commit is contained in:
Eric Christopher 2020-06-11 16:34:31 -07:00
parent 7d913becfc
commit cb21b16822
1 changed files with 1 additions and 1 deletions

View File

@ -3408,7 +3408,7 @@ bool X86FastISel::fastLowerCall(CallLoweringInfo &CLI) {
TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(ArgReg);
OutRegs.push_back(VA.getLocReg());
} else {
assert(VA.isMemLoc());
assert(VA.isMemLoc() && "Unknown value location!");
// Don't emit stores for undef values.
if (isa<UndefValue>(ArgVal))