summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-12 00:35:34 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-12 00:35:34 +0000
commit501852423d34578bc41a745681783b04124dd0db (patch)
tree0c5ebe362fb2a0771640584175e10af79d3e59fd /include/llvm/CodeGen/SelectionDAG.h
parent742c4bac07e2800275a69259296fba7c3e3f651b (diff)
downloadllvm-501852423d34578bc41a745681783b04124dd0db.tar.gz
llvm-501852423d34578bc41a745681783b04124dd0db.tar.bz2
llvm-501852423d34578bc41a745681783b04124dd0db.tar.xz
Don't try to form pre/post-indexed loads/stores until after LegalizeDAG runs. Fixes PR11029.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index e4de462e00..ccd35c4a16 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -112,9 +112,10 @@ public:
};
enum CombineLevel {
- Unrestricted, // Combine may create illegal operations and illegal types.
- NoIllegalTypes, // Combine may create illegal operations but no illegal types.
- NoIllegalOperations // Combine may only create legal operations and types.
+ BeforeLegalizeTypes,
+ AfterLegalizeTypes,
+ AfterLegalizeVectorOps,
+ AfterLegalizeDAG
};
class SelectionDAG;