projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silence compiler warnings.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMISelDAGToDAG.cpp
diff --git
a/lib/Target/ARM/ARMISelDAGToDAG.cpp
b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index 9128889b14bcbb1158bd71feea6739dc425df34e..35a983e5d2d5f1895feb383cd887876ad9e971bd 100644
(file)
--- a/
lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/
lib/Target/ARM/ARMISelDAGToDAG.cpp
@@
-536,7
+536,7
@@
bool ARMDAGToDAGISel::SelectThumbAddrModeRR(SDNode *Op, SDValue N,
DebugLoc dl = Op->getDebugLoc();
if (N.getOpcode() != ISD::ADD) {
ConstantSDNode *NC = dyn_cast<ConstantSDNode>(N);
- if (!NC ||
NC->getZExtValue() != 0
)
+ if (!NC ||
!NC->isNullValue()
)
return false;
Base = Offset = N;