This is an archive of the discontinued LLVM Phabricator instance.

[BPF] Triple::isBPF() utility method
ClosedPublic

Authored by eddyz87 on Jan 4 2023, 4:54 AM.

Details

Summary

Adds a utility method llvm::Triple::isBPF() aggregating Triple::bpfel
and Triple::bpfeb architectures. Similar to other predicates in this class.

Diff Detail

Event Timeline

eddyz87 created this revision.Jan 4 2023, 4:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 4:54 AM
eddyz87 published this revision for review.Jan 4 2023, 5:15 AM
eddyz87 added a reviewer: yonghong-song.
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 5:15 AM
eddyz87 updated this revision to Diff 486975.Jan 6 2023, 1:14 PM

Just a rebase.

yonghong-song accepted this revision.Jan 6 2023, 10:10 PM
This revision is now accepted and ready to land.Jan 6 2023, 10:10 PM
This revision was automatically updated to reflect the committed changes.