Skip to content

BPF: backport 4 TTI cost function related commits #48734

@yonghong-song

Description

@yonghong-song
Bugzilla Link 49390
Resolution FIXED
Resolved on May 03, 2021 16:54
Version unspecified
OS All
Blocks #48661
CC @4ast,@tstellar
Fixed by commit(s) a260ae7 74975d3 1959ead 6d102f1 3568d61 f9efff3 2460947 6fe7c37

Extended Description

I would like to backport the following 4 commits into 12.0.1 release:
The following are 4 commits ordering from latest to earliest in llvm13 trunk:
. 6d102f1 BPF: Add LLVMTransformUtils in CMakefile LINK_COMPONENTS
. 1959ead BPF: Implement TTI.getCmpSelInstrCost() properly
. 74975d3 BPF: Add LLVMAnalysis in CMakefile LINK_COMPONENTS
. a260ae7 BPF: Implement TTI.IntImmCost() properly

These 4 patches enabled llvm generating more verifier friendly code for BPF backend and reduced user's pain to tweak their applications in order to satisfy verifier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions