summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-03-05 18:54:38 +0000
committerCraig Topper <craig.topper@intel.com>2019-03-05 18:54:38 +0000
commit2982b846e9203bd9351c922332d36e9ed4a61d99 (patch)
tree23564ee382c5def980669a101d95b0435a439a99 /llvm/unittests/CodeGen/MachineInstrTest.cpp
parentf124e75656dd926d10e805f802e57eb9f7f6d4c5 (diff)
downloadbcm5719-llvm-2982b846e9203bd9351c922332d36e9ed4a61d99.tar.gz
bcm5719-llvm-2982b846e9203bd9351c922332d36e9ed4a61d99.zip
[Subtarget] Merge ProcSched and ProcDesc arrays in MCSubtargetInfo into a single array.
These arrays are both keyed by CPU name and go into the same tablegenerated file. Merge them so we only need to store keys once. This also removes a weird space saving quirk where we used the ProcDesc.size() to create to build an ArrayRef for ProcSched. Differential Revision: https://reviews.llvm.org/D58939 llvm-svn: 355431
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
-rw-r--r--llvm/unittests/CodeGen/MachineInstrTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp
index 2678a4589f9..bfdd940bf37 100644
--- a/llvm/unittests/CodeGen/MachineInstrTest.cpp
+++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp
@@ -47,7 +47,7 @@ class BogusSubtarget : public TargetSubtargetInfo {
public:
BogusSubtarget(TargetMachine &TM)
: TargetSubtargetInfo(Triple(""), "", "", {}, {}, nullptr, nullptr,
- nullptr, nullptr, nullptr, nullptr, nullptr),
+ nullptr, nullptr, nullptr, nullptr),
FL(), TL(TM) {}
~BogusSubtarget() override {}
OpenPOWER on IntegriCloud