mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 16:18:37 +00:00
[arm-fast-isel] Fix handling of the frameaddress intrinsic. If depth is 0
then DestReg is undefined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f152fe8d48
commit
bbff4ee92d
@ -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…
x
Reference in New Issue
Block a user