diff options
| author | Dale Johannesen <dalej@apple.com> | 2008-08-28 02:44:49 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2008-08-28 02:44:49 +0000 |
| commit | e00a8a2a2e11a37fd1ddf2504bd22d225d0994d0 (patch) | |
| tree | 484cf9b89070b672dd21616a49c0f15109bd51b8 /include/llvm/Target/TargetLowering.h | |
| parent | f2c785edf0d7ceb4491333146e289fdbbba1dddf (diff) | |
Split the ATOMIC NodeType's to include the size, e.g.
ATOMIC_LOAD_ADD_{8,16,32,64} instead of ATOMIC_LOAD_ADD.
Increased the Hardcoded Constant OpActionsCapacity to match.
Large but boring; no functional change.
This is to support partial-word atomics on ppc; i8 is
not a valid type there, so by the time we get to lowering, the
ATOMIC_LOAD nodes looks the same whether the type was i8 or i32.
The information can be added to the AtomicSDNode, but that is the
largest SDNode; I don't fully understand the SDNode allocation,
but it is sensitive to the largest node size, so increasing
that must be bad. This is the alternative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
| -rw-r--r-- | include/llvm/Target/TargetLowering.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index bb3105b5e8..c0c153c2fe 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1386,7 +1386,7 @@ private: MVT TransformToType[MVT::LAST_VALUETYPE]; // Defines the capacity of the TargetLowering::OpActions table - static const int OpActionsCapacity = 176; + static const int OpActionsCapacity = 212; /// OpActions - For each operation and each value type, keep a LegalizeAction /// that indicates how instruction selection should deal with the operation. |
