[PATCH] D133361: [BPF] Attribute preserve_static_offset for structs
Eduard Zingerman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 17:12:45 PDT 2023
eddyz87 updated this revision to Diff 557580.
eddyz87 marked an inline comment as done.
eddyz87 added a comment.
Rebase, added "const" qualifier in `hasBPFPreserveStaticOffset()`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133361/new/
https://reviews.llvm.org/D133361
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/CGExpr.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/bpf-preserve-static-offset-arr.c
clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
clang/test/CodeGen/bpf-preserve-static-offset-pai.c
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/bpf-attr-preserve-static-offset-warns-nonbpf.c
clang/test/Sema/bpf-attr-preserve-static-offset-warns.c
clang/test/Sema/bpf-attr-preserve-static-offset.c
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/IR/IntrinsicsBPF.td
llvm/lib/Target/BPF/BPF.h
llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
llvm/lib/Target/BPF/BPFCORE.h
llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
llvm/lib/Target/BPF/BPFTargetMachine.cpp
llvm/lib/Target/BPF/CMakeLists.txt
llvm/test/CodeGen/BPF/preserve-static-offset/load-align.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-atomic.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-2.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8-type-mismatch.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-chain.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-inline.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-non-const.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-simple.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-align.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain-u8.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-simple.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-volatile.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-unroll-inline.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-unroll.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-volatile.ll
llvm/test/CodeGen/BPF/preserve-static-offset/load-zero.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-align.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-atomic.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-2.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-u8-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-u8.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-chain.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-simple.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-align.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain-oob.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain-u8.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-simple.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-volatile.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-unroll-inline.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-volatile.ll
llvm/test/CodeGen/BPF/preserve-static-offset/store-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133361.557580.patch
Type: text/x-patch
Size: 186868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20231004/f8ce74cf/attachment-0001.bin>
More information about the llvm-commits
mailing list