mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +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:
parent
e228078ca6
commit
034b8f9d31
@ -2518,8 +2518,7 @@ private:
|
||||
}
|
||||
|
||||
if (EmitMemCpy) {
|
||||
Type *OtherPtrTy = IsDest ? II.getRawSource()->getType()
|
||||
: II.getRawDest()->getType();
|
||||
Type *OtherPtrTy = OtherPtr->getType();
|
||||
|
||||
// Compute the other pointer, folding as much as possible to produce
|
||||
// a single, simple GEP in most cases.
|
||||
|
Loading…
x
Reference in New Issue
Block a user