diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-05-19 11:08:33 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-05-19 11:08:33 +0000 |
commit | a1b2db7919e857885ff3035efae071804996bd62 (patch) | |
tree | 9f6482c2acb109f7dabe630e73ad838ffff532d7 /llvm/unittests/Target/AArch64/InstSizes.cpp | |
parent | 4d33c86359a0aab3faafa65184c141eca1e163a5 (diff) | |
download | bcm5719-llvm-a1b2db7919e857885ff3035efae071804996bd62.tar.gz bcm5719-llvm-a1b2db7919e857885ff3035efae071804996bd62.zip |
[globalisel][tablegen] Demote OptForSize/OptForMinSize/ForCodeSize to per-function predicates.
Summary:
This causes them to be re-computed more often than necessary but resolves
objections that were raised post-commit on r301750.
Reviewers: qcolombet, ab, t.p.northover, rovka, kristof.beyls
Reviewed By: qcolombet
Subscribers: igorb, llvm-commits
Differential Revision: https://reviews.llvm.org/D32861
llvm-svn: 303418
Diffstat (limited to 'llvm/unittests/Target/AArch64/InstSizes.cpp')
-rw-r--r-- | llvm/unittests/Target/AArch64/InstSizes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/Target/AArch64/InstSizes.cpp b/llvm/unittests/Target/AArch64/InstSizes.cpp index 5adbd7d2de4..22b47c6852a 100644 --- a/llvm/unittests/Target/AArch64/InstSizes.cpp +++ b/llvm/unittests/Target/AArch64/InstSizes.cpp @@ -30,8 +30,7 @@ std::unique_ptr<TargetMachine> createTargetMachine() { std::unique_ptr<AArch64InstrInfo> createInstrInfo(TargetMachine *TM) { AArch64Subtarget ST(TM->getTargetTriple(), TM->getTargetCPU(), - TM->getTargetFeatureString(), *TM, /* isLittle */ false, - /* ForCodeSize */ false); + TM->getTargetFeatureString(), *TM, /* isLittle */ false); return llvm::make_unique<AArch64InstrInfo>(ST); } |