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:
e5839f8
)
Fix a compilation warning.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 8 Dec 2007 01:00:21 +0000
(
01:00
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 8 Dec 2007 01:00:21 +0000
(
01:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44691
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCRegisterInfo.cpp
b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 634681cdb4ed1228ba1676a06d81811bc7777c97..f93c2ce9e0b06594634a901f564f41e1a7e8e6c4 100644
(file)
--- a/
lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/
lib/Target/PowerPC/PPCRegisterInfo.cpp
@@
-615,7
+615,7
@@
MachineInstr *PPCRegisterInfo::foldMemoryOperand(MachineInstr *MI,
bool PPCRegisterInfo::canFoldMemoryOperand(MachineInstr *MI,
SmallVectorImpl<unsigned> &Ops) const {
- if (Ops.size() != 1) return
NULL
;
+ if (Ops.size() != 1) return
false
;
// Make sure this is a reg-reg copy. Note that we can't handle MCRF, because
// it takes more than one instruction to store it.