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:
2bbea35
)
Clear the whole array, always.
author
Chris Lattner
<sabre@nondot.org>
Tue, 11 Jan 2005 20:25:26 +0000
(20:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 11 Jan 2005 20:25:26 +0000
(20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19482
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 5c45b4bd4d5077442d36d70077bfefe7db668200..f2ce1308caeaa5277a8a1816c73487c96a76e2af 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/
lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@
-23,7
+23,7
@@
TargetLowering::TargetLowering(TargetMachine &tm)
IsLittleEndian = TD.isLittleEndian();
PointerTy = getValueType(TD.getIntPtrType());
- memset(UnsupportedOps, 0,
ISD::BUILTIN_OP_END
*sizeof(short));
+ memset(UnsupportedOps, 0,
128
*sizeof(short));
memset(RegClassForVT, 0,MVT::LAST_VALUETYPE*sizeof(TargetRegisterClass*));
}