Skip to content

Commit c053e07

Browse files
committed
Adds BF16 and SB to InlineFeaturesAllowed
These features being present in the caller and not the callee should not prevent a function from being inlined.
1 parent 0922a15 commit c053e07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/ARM/ARMTargetTransformInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ class ARMTTIImpl final : public BasicTTIImplBase<ARMTTIImpl> {
7272
const FeatureBitset InlineFeaturesAllowed = {
7373
ARM::FeatureDotProd,
7474
ARM::HasV8Ops,
75+
ARM::FeatureSB,
76+
ARM::FeatureBF16,
7577
ARM::FeatureVFP2,
7678
ARM::FeatureVFP3,
7779
ARM::FeatureNEON,

0 commit comments

Comments
 (0)