diff options
author | Duncan Sands <baldrick@free.fr> | 2011-05-18 14:57:56 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-05-18 14:57:56 +0000 |
commit | d6dde76090dd673a673ce363c982c22ea924502a (patch) | |
tree | 6d3857c372287f1c96cc46bd3eb3b6ef2cb324d2 /lib/CodeGen/SelectionDAG/LegalizeTypes.h | |
parent | fe3f5d7538954474731dbbed70430016600fa477 (diff) | |
download | llvm-d6dde76090dd673a673ce363c982c22ea924502a.tar.gz llvm-d6dde76090dd673a673ce363c982c22ea924502a.tar.bz2 llvm-d6dde76090dd673a673ce363c982c22ea924502a.tar.xz |
Revert commit 131534 since it seems to have broken several buildbots.
Original log entry:
Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'
code in one place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h index 06f2aca1c6..5409b88efa 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h @@ -75,7 +75,7 @@ private: /// getTypeAction - Return how we should legalize values of this type. LegalizeAction getTypeAction(EVT VT) const { - switch (TLI.getTypeAction(*DAG.getContext(), VT)) { + switch (ValueTypeActions.getTypeAction(VT)) { default: assert(false && "Unknown legalize action!"); case TargetLowering::Legal: @@ -108,7 +108,7 @@ private: /// isTypeLegal - Return true if this type is legal on this target. bool isTypeLegal(EVT VT) const { - return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::Legal; + return ValueTypeActions.getTypeAction(VT) == TargetLowering::Legal; } /// IgnoreNodeResults - Pretend all of this node's results are legal. |