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:
27d53ba
)
Fix VC++ precedence warning.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Fri, 19 Aug 2005 04:39:48 +0000
(
04:39
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Fri, 19 Aug 2005 04:39:48 +0000
(
04:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22902
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 7f0725efaab2ec02bdb2d97a37623bf7c6d765d2..8fb6070e94d1acd8dc5e054437b823ba6ea4053d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-1171,7
+1171,7
@@
SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
if (Opcode == ISD::SRA) {
// If the sign bit is known to be zero, switch this to a SRL.
if (MaskedValueIsZero(N1,
- 1ULL <<
MVT::getSizeInBits(N1.getValueType())-1
,
+ 1ULL <<
(MVT::getSizeInBits(N1.getValueType())-1)
,
TLI))
return getNode(ISD::SRL, N1.getValueType(), N1, N2);
} else {