mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
Trivial cleanup: reuse existing variable.
Extracted while trying to understand http://llvm-reviews.chandlerc.com/D1764. Patch by Matt Arsenault. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2518,8 +2518,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (EmitMemCpy) {
|
if (EmitMemCpy) {
|
||||||
Type *OtherPtrTy = IsDest ? II.getRawSource()->getType()
|
Type *OtherPtrTy = OtherPtr->getType();
|
||||||
: II.getRawDest()->getType();
|
|
||||||
|
|
||||||
// Compute the other pointer, folding as much as possible to produce
|
// Compute the other pointer, folding as much as possible to produce
|
||||||
// a single, simple GEP in most cases.
|
// a single, simple GEP in most cases.
|
||||||
|
Reference in New Issue
Block a user