[all-commits] [llvm/llvm-project] 248446: Revert "[BPF] Attribute preserve_static_offset for...

eddyz87 via All-commits all-commits at lists.llvm.org
Thu Nov 30 12:30:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 248446980317dccadd5ecdf7d2831942baaff4ab
      https://github.com/llvm/llvm-project/commit/248446980317dccadd5ecdf7d2831942baaff4ab
  Author: Eduard Zingerman <eddyz87 at gmail.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    R clang/test/CodeGen/bpf-preserve-static-offset-arr.c
    R clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
    R clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
    R clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
    R clang/test/CodeGen/bpf-preserve-static-offset-pai.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    R clang/test/Sema/bpf-attr-preserve-static-offset-warns-nonbpf.c
    R clang/test/Sema/bpf-attr-preserve-static-offset-warns.c
    R clang/test/Sema/bpf-attr-preserve-static-offset.c
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/IntrinsicsBPF.td
    M llvm/lib/Target/BPF/BPF.h
    M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
    M llvm/lib/Target/BPF/BPFCORE.h
    M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
    R llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
    M llvm/lib/Target/BPF/BPFTargetMachine.cpp
    M llvm/lib/Target/BPF/CMakeLists.txt
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-align.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-atomic.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-2.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8-type-mismatch.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain-u8.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-chain.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-inline.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-non-const.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-simple.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-align.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain-u8.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-chain.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-simple.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-undo-volatile.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-union-pai.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-unroll-inline.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-unroll.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-volatile.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/load-zero.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-align.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-atomic.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-2.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-u8-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-chain-u8.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-chain.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-pai.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-simple.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-align.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain-oob.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain-u8.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-chain.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-simple.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-undo-volatile.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-unroll-inline.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-volatile.ll
    R llvm/test/CodeGen/BPF/preserve-static-offset/store-zero.ll

  Log Message:
  -----------
  Revert "[BPF] Attribute preserve_static_offset for structs"

This reverts commit cb13e9286b6d4e384b5d4203e853d44e2eff0f0f.
Buildbot reports MSAN failures in tests added in this commit:
https://lab.llvm.org/buildbot/#/builders/5/builds/38806

Failing tests:
  LLVM :: CodeGen/BPF/preserve-static-offset/load-arr-pai.ll
  LLVM :: CodeGen/BPF/preserve-static-offset/load-ptr-pai.ll
  LLVM :: CodeGen/BPF/preserve-static-offset/load-struct-pai.ll
  LLVM :: CodeGen/BPF/preserve-static-offset/load-union-pai.ll
  LLVM :: CodeGen/BPF/preserve-static-offset/store-pai.ll




More information about the All-commits mailing list