Skip to content

[SandboxIR] Add pointer-diff utility function #110343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

Sterling-Augustine
Copy link
Contributor

This will be used when gathering seeds to calculate the lane an instruction in the bundle uses.

This is a retry of PR 110176, which somehow got messed up while resolving a merge conflict.

This will be used when gathering seeds to calculate the lane an instruction in the bundle uses.

This is a retry of PR 110176, which somehow got messed up while resolving
a merge conflict.
Copy link
Contributor

@vporpo vporpo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@Sterling-Augustine Sterling-Augustine merged commit df4d7d3 into llvm:main Sep 28, 2024
6 of 8 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Sep 28, 2024

LLVM Buildbot has detected a new failure on builder clang-s390x-linux-multistage running on systemz-1 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/98/builds/425

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/BPF/BTF/atomics.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llc -march=bpfel -mcpu=v3 -filetype=obj -o /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llc -march=bpfel -mcpu=v3 -filetype=obj -o /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
RUN: at line 2: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llvm-objcopy --dump-section='.BTF'=/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llvm-objcopy --dump-section=.BTF=/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1
RUN: at line 3: "/home/uweigand/sandbox/bin/python3.10" /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 | /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
+ /home/uweigand/sandbox/bin/python3.10 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
Traceback (most recent call last):
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 295, in <module>
    print_btf(sys.argv[1])
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 137, in print_btf
    name_off, info, size = unpack("III")
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 100, in unpack
    r = st.unpack_from(buf, off)
struct.error: unpack_from requires a buffer of at least 402653196 bytes for unpacking 12 bytes at offset 402653184 (actual buffer size is 479)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll

--

********************

Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/BPF/BTF/atomics.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llc -march=bpfel -mcpu=v3 -filetype=obj -o /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llc -march=bpfel -mcpu=v3 -filetype=obj -o /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
RUN: at line 2: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llvm-objcopy --dump-section='.BTF'=/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llvm-objcopy --dump-section=.BTF=/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp1
RUN: at line 3: "/home/uweigand/sandbox/bin/python3.10" /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2 | /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
+ /home/uweigand/sandbox/bin/python3.10 /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/test/CodeGen/BPF/BTF/Output/atomics.ll.tmp2
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll
Traceback (most recent call last):
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 295, in <module>
    print_btf(sys.argv[1])
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 137, in print_btf
    name_off, info, size = unpack("III")
  File "/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/print_btf.py", line 100, in unpack
    r = st.unpack_from(buf, off)
struct.error: unpack_from requires a buffer of at least 402653196 bytes for unpacking 12 bytes at offset 402653184 (actual buffer size is 479)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/FileCheck -check-prefixes=CHECK /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/BPF/BTF/atomics.ll

--

********************


@Sterling-Augustine Sterling-Augustine deleted the mem2 branch October 7, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants