aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonTargetMachine.cpp
diff options
context:
space:
mode:
authorSirish Pande <spande@codeaurora.org>2012-04-12 21:06:38 +0000
committerSirish Pande <spande@codeaurora.org>2012-04-12 21:06:38 +0000
commitd1a87a68064e0b9af3b71b681286954f861bb1b3 (patch)
treeef1926698f74858fb6811c996c5d7792836625bc /lib/Target/Hexagon/HexagonTargetMachine.cpp
parentc68dda815e64fb2fb463318d1eaa304e22199d50 (diff)
HexagonPacketizer patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonTargetMachine.cpp')
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonTargetMachine.cpp b/lib/Target/Hexagon/HexagonTargetMachine.cpp
index b9e6894936..411325bf96 100644
--- a/lib/Target/Hexagon/HexagonTargetMachine.cpp
+++ b/lib/Target/Hexagon/HexagonTargetMachine.cpp
@@ -138,5 +138,8 @@ bool HexagonPassConfig::addPreEmitPass() {
// Split up TFRcondsets into conditional transfers.
PM.add(createHexagonSplitTFRCondSets(getHexagonTargetMachine()));
+ // Create Packets.
+ PM.add(createHexagonPacketizer());
+
return false;
}