forked from OSchip/llvm-project
[arm-fast-isel] Fix handling of the frameaddress intrinsic. If depth is 0
then DestReg is undefined. llvm-svn: 157840
This commit is contained in:
parent
92a0083944
commit
f319324082
|
@ -2439,7 +2439,7 @@ bool ARMFastISel::SelectIntrinsicCall(const IntrinsicInst &I) {
|
|||
.addReg(SrcReg).addImm(0));
|
||||
SrcReg = DestReg;
|
||||
}
|
||||
UpdateValueMap(&I, DestReg);
|
||||
UpdateValueMap(&I, SrcReg);
|
||||
return true;
|
||||
}
|
||||
case Intrinsic::memcpy:
|
||||
|
|
Loading…
Reference in New Issue