Skip to content

Commit 16aa3ba

Browse files
committed
Changes from last revision:
* clang format * remove leftover target hook hasFMV after rebase * remove filter in regression test after rebase
1 parent 1a564f7 commit 16aa3ba

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ class AArch64TTIImpl : public BasicTTIImplBase<AArch64TTIImpl> {
8888
unsigned getInlineCallPenalty(const Function *F, const CallBase &Call,
8989
unsigned DefaultCallPenalty) const;
9090

91-
bool hasFMV() const { return ST->hasFMV(); }
92-
9391
uint64_t getFeatureMask(Function &F) const;
9492

9593
/// \name Scalar TTI Implementations

llvm/lib/TargetParser/AArch64TargetParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ std::optional<AArch64::FMVInfo>
5252
lookupFMVByID(llvm::AArch64::ArchExtKind ExtID) {
5353
for (const auto &I : llvm::AArch64::getFMVInfo())
5454
if (I.ID && *I.ID == ExtID)
55-
return I;
55+
return I;
5656
return {};
5757
}
5858

llvm/lib/Transforms/IPO/GlobalOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ static bool OptimizeNonTrivialIFuncs(
27532753
unsigned I = 0;
27542754
// Now try to redirect calls starting from higher priority callers.
27552755
for (Function *Caller : Callers) {
2756-
assert (I < Callees.size() && "Found callers of equal priority");
2756+
assert(I < Callees.size() && "Found callers of equal priority");
27572757

27582758
Function *Callee = Callees[I];
27592759
uint64_t CallerBits = FeatureMask[Caller];

llvm/test/Transforms/GlobalOpt/resolve-fmv-ifunc.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call i32 @(test_single_bb_resolver|test_multi_bb_resolver|test_caller_feats_not_implied|test_same_priority_callers)" --version 4
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --filter "call i32 @(test_single_bb_resolver|test_multi_bb_resolver|test_caller_feats_not_implied)" --version 4
22
; RUN: opt --passes=globalopt -o - -S < %s | FileCheck %s
33

44
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"

0 commit comments

Comments
 (0)