projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6abdeb
)
Warning fix.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 4 Nov 2015 21:27:22 +0000
(21:27 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 4 Nov 2015 21:27:22 +0000
(21:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252078
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.cpp
b/lib/Target/X86/X86InstrInfo.cpp
index a5b3a12e9102c579146c69b2b1702d585d1dac1b..6049ddac785087bc65df9e76e1b1e73248b01036 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.cpp
+++ b/
lib/Target/X86/X86InstrInfo.cpp
@@
-5037,9
+5037,9
@@
MachineInstr *X86InstrInfo::foldMemoryOperandImpl(
MachineInstr *NewMI = nullptr;
// Attempt to fold any custom cases we have.
- if (
New
MI =
+ if (
MachineInstr *Custom
MI =
foldMemoryOperandCustom(MF, MI, OpNum, MOs, InsertPt, Size, Align))
- return
New
MI;
+ return
Custom
MI;
// Folding a memory location into the two-address part of a two-address
// instruction is different than folding it other places. It requires