-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Merge llvm/main into amd-debug #164641
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
Closed
slinder1
wants to merge
515
commits into
llvm:main
from
ROCm:amd/dev/slinder1/merge-llvm-main-into-amd-debug_20251022
Closed
Merge llvm/main into amd-debug #164641
Changes from all commits
Commits
Show all changes
515 commits
Select commit
Hold shift + click to select a range
c37bc81
Merge llvm/main into amd-debug
75d48e1
Merge llvm/main into amd-debug
7b555f2
Merge llvm/main into amd-debug
d38e2f2
Merge llvm/main into amd-debug
ad600a1
Merge llvm/main into amd-debug
f9882b0
Merge llvm/main into amd-debug
223fd14
Merge llvm/main into amd-debug
b9e9556
Merge llvm/main into amd-debug
dc47544
Merge llvm/main into amd-debug
21014a2
Merge llvm/main into amd-debug
4ca66c1
Merge llvm/main into amd-debug
9b23267
Merge llvm/main into amd-debug
517e0c2
Merge llvm/main into amd-debug
28da0c0
Merge llvm/main into amd-debug
e92d57a
Merge llvm/main into amd-debug
5c5978b
Merge llvm/main into amd-debug
6eccf41
add test case
Shoreshen 6c8be65
Merge llvm/main into amd-debug
aed7726
Merge llvm/main into amd-debug
efb149e
Merge llvm/main into amd-debug
1a4eddf
add type change for debug info (#3537)
53f8eef
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 9d06195
Merge llvm/main into amd-debug
5704bfe
Merge llvm/main into amd-debug
edb10e5
Merge llvm/main into amd-debug
5ed9a77
Merge llvm/main into amd-debug
60bc315
Merge llvm/main into amd-debug
10488e8
Merge llvm/main into amd-debug
0b66d4c
Merge llvm/main into amd-debug
3f35871
Merge llvm/main into amd-debug
a459ab3
Merge llvm/main into amd-debug
68039cc
Merge llvm/main into amd-debug
8ce56c3
Merge llvm/main into amd-debug
c2a6cd9
Merge llvm/main into amd-debug
82782d2
Merge llvm/main into amd-debug
846cf76
Merge llvm/main into amd-debug
40b20c6
Merge llvm/main into amd-debug
4001904
Merge llvm/main into amd-debug
934fb3d
Merge llvm/main into amd-debug
8b54eab
Merge llvm/main into amd-debug
b365aa3
Merge llvm/main into amd-debug
4b00c8e
Merge llvm/main into amd-debug
1043f01
Merge llvm/main into amd-debug
ee77044
Merge llvm/main into amd-debug
1727a19
Merge llvm/main into amd-debug
4f2174c
Merge llvm/main into amd-debug
fe9f535
Merge llvm/main into amd-debug
8a08d84
Merge llvm/main into amd-debug
94ce1b8
Merge llvm/main into amd-debug
2d225ae
Merge llvm/main into amd-debug
fc7eac0
Merge llvm/main into amd-debug
8fbff38
Merge llvm/main into amd-debug
ccb4647
Merge llvm/main into amd-debug
a9becbe
Merge llvm/main into amd-debug
6143e78
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 7d893db
Merge llvm/main into amd-debug
e544442
Merge llvm/main into amd-debug
1d7b085
Merge llvm/main into amd-debug
023e6d7
Merge llvm/main into amd-debug
b35f33a
Merge llvm/main into amd-debug
7c1c993
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 9118fc0
Update a-v-global-atomicrmw.ll test
mariusz-sikora-at-amd e5f7be9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 1346f31
Merge llvm/main into amd-debug
764a005
Merge llvm/main into amd-debug
de90a47
Merge llvm/main into amd-debug
ba1ef71
Merge llvm/main into amd-debug
9261a04
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 12a789b
Update tests
mariusz-sikora-at-amd 84c822b
Merge llvm/main into amd-debug
8030bdc
Merge llvm/main into amd-debug
7b17f49
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 4080fb9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd bbcb27a
Merge llvm/main into amd-debug
d577ff3
Merge llvm/main into amd-debug
ae78f55
Merge llvm/main into amd-debug
582ab94
Merge llvm/main into amd-debug
58cba25
Merge llvm/main into amd-debug
aa45ea9
Merge llvm/main into amd-debug
280cfc2
Merge llvm/main into amd-debug
4787660
Merge llvm/main into amd-debug
c9ecf28
Merge llvm/main into amd-debug
25cb290
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 6debbfd
Update debug-info-amdgcn-abi-heterogeneous-dwarf.hip test
mariusz-sikora-at-amd bd17595
Remove duplicate tests. (#3976)
mariusz-sikora-at-amd 35cd0c9
Merge llvm/main into amd-debug
36fafa0
Merge llvm/main into amd-debug
5932318
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 87704d8
Merge llvm/main into amd-debug
6590670
Merge llvm/main into amd-debug
708985e
Merge llvm/main into amd-debug
7f52512
Merge llvm/main into amd-debug
a449c85
Merge llvm/main into amd-debug
09c41a4
Merge llvm/main into amd-debug
6aa33ad
Merge llvm/main into amd-debug
030bd33
Merge llvm/main into amd-debug
c0173b7
Merge llvm/main into amd-debug
6c1fe2b
Merge llvm/main into amd-debug
59e8a45
Merge llvm/main into amd-debug
f7706db
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 0dd0c36
Merge llvm/main into amd-debug
c343d79
Merge llvm/main into amd-debug
1c916f8
Merge llvm/main into amd-debug
slinder1 2fe59eb
Resolve conflicts
slinder1 c27982a
Merge llvm/main into amd-debug
fa4a66d
Merge llvm/main into amd-debug
86cf8c2
Merge llvm/main into amd-debug
e12506f
Merge llvm/main into amd-debug
3c262b5
XFAIL dtlto.c temporarily
skganesan008 ab5a712
XFAIL dtlto.c temporarily (#4127)
skganesan008 9d63b31
Merge llvm/main into amd-debug
mariusz-sikora-at-amd b273210
Merge llvm/main into amd-debug
mariusz-sikora-at-amd efbe6e1
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 9f63e74
Merge llvm/main into amd-debug
mariusz-sikora-at-amd aea2cf6
Merge llvm/main into amd-debug
mariusz-sikora-at-amd ad62061
Merge llvm/main into amd-debug
mariusz-sikora-at-amd d68b9e9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd f5b77f2
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 1c7e76c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd cb6c765
Merge llvm/main into amd-debug
mariusz-sikora-at-amd f23f70c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd ce12c52
Merge llvm/main into amd-debug
mariusz-sikora-at-amd b29895e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 5fe9ef6
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 6332330
Merge llvm/main into amd-debug
mariusz-sikora-at-amd a0e8c7b
Update tests
mariusz-sikora-at-amd 768baa4
Merge llvm/main into amd-debug
9c1d66d
Merge llvm/main into amd-debug
239615c
Merge llvm/main into amd-debug
e69c6b2
Merge llvm/main into amd-debug
2210755
Merge llvm/main into amd-debug
c9042b8
Merge llvm/main into amd-debug
a923583
Merge llvm/main into amd-debug
9f2ad05
Merge llvm/main into amd-debug
4fa781d
Merge llvm/main into amd-debug
9517b30
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 1d33e4d
Update test
mariusz-sikora-at-amd f1ca83e
Merge llvm/main into amd-debug
fc588c9
Merge llvm/main into amd-debug
d5ce3df
Merge llvm/main into amd-debug
ff66700
Merge llvm/main into amd-debug
53c1fc7
Merge llvm/main into amd-debug
97096fe
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 0bb138e
Merge llvm/main into amd-debug
c9b5ad2
Merge llvm/main into amd-debug
8720df7
Merge llvm/main into amd-debug
5d19092
Merge llvm/main into amd-debug
f2ac593
Merge llvm/main into amd-debug
sstipano 8bf613c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 8e9a484
Update bf16.ll test
mariusz-sikora-at-amd f0ec5b5
Merge llvm/main into amd-debug
688efc5
Merge llvm/main into amd-debug
877b689
Merge llvm/main into amd-debug
33ab60d
Merge llvm/main into amd-debug
e5c3c76
Merge llvm/main into amd-debug
67de1ba
Merge llvm/main into amd-debug
db3cdc0
Merge llvm/main into amd-debug
f1e4f42
Merge llvm/main into amd-debug
be1daed
[HeterogeneousDWARF] Clarify code in createScaledCFAInPrivateWave (#4…
slinder1 c25c2c7
Merge llvm/main into amd-debug
2d83724
Merge llvm/main into amd-debug
43ae65b
Merge llvm/main into amd-debug
a3a44d5
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 4baab32
Merge llvm/main into amd-debug
45bb4f8
Merge llvm/main into amd-debug
7742337
Merge llvm/main into amd-debug
337d397
Merge llvm/main into amd-debug
a37df3b
Merge llvm/main into amd-debug
37066c8
Merge llvm/main into amd-debug
mariusz-sikora-at-amd fb422ba
Merge llvm/main into amd-debug
9aaaf80
Merge llvm/main into amd-debug
mariusz-sikora-at-amd e863a78
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 246233e
Merge llvm/main into amd-debug
0cd7862
Merge llvm/main into amd-debug
0e582fa
Merge llvm/main into amd-debug
d7a2d9d
Merge llvm/main into amd-debug
98123b3
Merge llvm/main into amd-debug
df50a37
Merge llvm/main into amd-debug
b4efbc1
Merge llvm/main into amd-debug
e27b906
Merge llvm/main into amd-debug
329acf6
Merge llvm/main into amd-debug
d733be1
Merge llvm/main into amd-debug
4357860
Merge llvm/main into amd-debug
b94076b
Merge llvm/main into amd-debug
2d12910
Merge llvm/main into amd-debug
8363136
Merge llvm/main into amd-debug
73d89ed
Merge llvm/main into amd-debug
9b6dae7
Merge llvm/main into amd-debug
0786f05
Merge llvm/main into amd-debug
d8650a9
Merge llvm/main into amd-debug
4242d92
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 835ccf1
Merge llvm/main into amd-debug
08f14d7
Merge llvm/main into amd-debug
d3e93c3
Merge llvm/main into amd-debug
7f168eb
Merge llvm/main into amd-debug
a019fc0
Merge llvm/main into amd-debug
7f85898
Merge llvm/main into amd-debug
2471173
Merge llvm/main into amd-debug
427ef8b
Merge llvm/main into amd-debug
c94dc93
Merge llvm/main into amd-debug
99b1538
Merge llvm/main into amd-debug
34f98c8
Merge llvm/main into amd-debug
1e44685
Merge llvm/main into amd-debug
5190d56
Merge llvm/main into amd-debug
913bc30
Merge llvm/main into amd-debug
7656247
Merge llvm/main into amd-debug
fd4fbda
Merge llvm/main into amd-debug
ScottEgerton 619e19f
Merge llvm/main into amd-debug
b3bc98d
Merge llvm/main into amd-debug
4240686
Merge llvm/main into amd-debug
20691ef
Merge llvm/main into amd-debug
952917e
Merge llvm/main into amd-debug
4c0aa73
Merge llvm/main into amd-debug
e1fd0d9
Merge llvm/main into amd-debug
f2dd8b2
Merge llvm/main into amd-debug
801188d
Merge llvm/main into amd-debug
09acd6e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 9902c8e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 46442bc
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 8162351
Merge llvm/main into amd-debug
mariusz-sikora-at-amd 1aa80db
Merge llvm/main into amd-debug
c12e418
Merge llvm/main into amd-debug
524460d
Merge llvm/main into amd-debug
b7a3993
Merge llvm/main into amd-debug
fbbaae8
Merge llvm/main into amd-debug
42ad949
Merge llvm/main into amd-debug
2141783
Merge llvm/main into amd-debug
2489077
Merge llvm/main into amd-debug
fcc7d84
Merge llvm/main into amd-debug
1c686ed
Merge llvm/main into amd-debug
551513b
Merge llvm/main into amd-debug
56d6301
Merge llvm/main into amd-debug
5e85f54
Merge llvm/main into amd-debug
8ddbaa3
Merge llvm/main into amd-debug
d1ae2a8
Merge llvm/main into amd-debug
888a089
Merge llvm/main into amd-debug
4d6d616
Merge llvm/main into amd-debug
ec0e0e9
Merge llvm/main into amd-debug
eef74e3
Merge llvm/main into amd-debug
6d57fcc
Merge llvm/main into amd-debug
1bbd301
Merge llvm/main into amd-debug
1ae796e
Merge llvm/main into amd-debug
1422977
Merge llvm/main into amd-debug
cc68e07
Merge llvm/main into amd-debug
2946108
Merge llvm/main into amd-debug
eac8954
Merge llvm/main into amd-debug
1f47806
Merge llvm/main into amd-debug
sstipano f1f7225
[HeterogeneousDwarf] Fix constant (AS4) global emission (#4541)
epilk 29fc49f
[HeterogeneousDWARF] Respect Has1024AddressableVGPRs in CFI (#4545)
slinder1 e20442b
Merge llvm/main into amd-debug
sstipano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| name: Trigger amd-debug Buildbot Build | ||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| branches: [amd-debug] | ||
| types: [opened, reopened, synchronize, ready_for_review] | ||
|
|
||
|
|
||
| jobs: | ||
| trigger-build: | ||
| if: github.event.pull_request.draft == false | ||
| runs-on: | ||
| group: compiler-generic-runners | ||
| env: | ||
| PR_SHA: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }} | ||
| PR_NUMBER: ${{ github.event.pull_request.number != '' && github.event.pull_request.number || 0 }} | ||
| PR_URL: ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }} | ||
| PR_TITLE: ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }} | ||
| BASE_BRANCH: ${{ github.event.pull_request.base.ref != '' && github.event.pull_request.base.ref || '' }} | ||
| GITHUB_TOKEN: ${{secrets.CI_GITHUB_TOKEN}} | ||
|
|
||
| steps: | ||
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
| - name: Set environment variable for container image | ||
| run: | | ||
| echo "CONTAINER_IMAGE=${{ secrets.BUILDBOT_DOCKER_IMAGE }}" >> $GITHUB_ENV | ||
| echo "CONTAINER_NAME=my_container_${{ github.run_id }}" >> $GITHUB_ENV | ||
|
|
||
| - name: Pull container image | ||
| run: docker pull "${{env.CONTAINER_IMAGE}}" | ||
|
|
||
| - name: Run container | ||
| run: | | ||
| docker run -d --name "${{env.CONTAINER_NAME}}" $CONTAINER_IMAGE sleep infinity | ||
| docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "echo 'Running commands inside the container'" | ||
|
|
||
| - name: Escape pull request title | ||
| run: | | ||
| import json | ||
| import os | ||
| import shlex | ||
| with open('${{ github.event_path }}') as fh: | ||
| event = json.load(fh) | ||
| escaped = event['pull_request']['title'] | ||
| with open(os.environ['GITHUB_ENV'], 'a') as fh: | ||
| print(f'PR_TITLE={escaped}', file=fh) | ||
| shell: python3 {0} | ||
|
|
||
| - name: Trigger Buildbot Build | ||
| run: | | ||
| echo "${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}" | ||
| docker exec -e PR_TITLE="$PR_TITLE" "${{env.CONTAINER_NAME}}" /bin/bash -c 'buildbot sendchange -W ${{ secrets.BUILDBOT_USER }} -a ${{secrets.BUILDBOT_USER}}:${{secrets.BUILDBOT_PWD}} --master="${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}" --branch=${{ env.BASE_BRANCH }} --revision=${{ env.PR_SHA }} -p PR_NUMBER:${{ env.PR_NUMBER }} -p PR_TITLE:"$PR_TITLE" -p PR_URL:${{ env.PR_URL }} -p SHA:${{ env.PR_SHA }}' | ||
|
|
||
| - name: Set Initial Status to Pending | ||
| run: | | ||
| docker exec -e PR_SHA=$PR_SHA -e GITHUB_TOKEN=$GITHUB_TOKEN "${{env.CONTAINER_NAME}}" /bin/bash -c "python3 -c \" | ||
| import os | ||
| import requests | ||
| GITHUB_TOKEN = os.getenv('GITHUB_TOKEN') | ||
| TARGET_SHA = os.getenv('PR_SHA') | ||
| print('debug', TARGET_SHA) | ||
| api_url = f'https://api.github.com/repos/AMD-Lightning-Internal/llvm-project/statuses/{TARGET_SHA}' | ||
| headers = { | ||
| 'Authorization': f'token {GITHUB_TOKEN}', | ||
| 'Content-Type': 'application/json' | ||
| } | ||
| payload = { | ||
| 'state': 'pending', | ||
| 'context': 'buildbot', | ||
| 'description': 'Build is in queue' | ||
| } | ||
| response = requests.post(api_url, json=payload, headers=headers) | ||
| if response.status_code == 201: | ||
| print('Status set to pending successfully.') | ||
| else: | ||
| print(f'Failed to set status: {response.status_code} {response.text}') | ||
| \"" | ||
|
|
||
| - name: Poll Buildbot build status | ||
| run: | | ||
| python3 -c " | ||
| import os | ||
| import time | ||
| import requests | ||
| GITHUB_TOKEN = os.getenv('GITHUB_TOKEN') | ||
| BUILD_URL = 'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds' | ||
| TARGET_SHA = os.getenv('PR_SHA') | ||
| print('debug', TARGET_SHA) | ||
| MAX_RETRIES = 10 | ||
| RETRY_INTERVAL = 30 # seconds | ||
|
|
||
| def get_build_properties(build_id): | ||
| build_properties_url = f'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds/{build_id}/properties' | ||
| response = requests.get(build_properties_url, headers={'Accept': 'application/json', 'Authorization': f'token {GITHUB_TOKEN}'}) | ||
| return response.json() | ||
|
|
||
| for i in range(MAX_RETRIES): | ||
| response = requests.get(BUILD_URL, headers={'Accept': 'application/json'}) | ||
| response_json = response.json() | ||
| print(f'Attempt {i + 1}: Buildbot response:', response_json) | ||
|
|
||
| # Check if any build has the target SHA | ||
| builds = response_json.get('builds', []) | ||
| print (builds) | ||
| build_with_sha = None | ||
| for build in builds: | ||
| build_id = build['buildid'] | ||
| properties = get_build_properties(build_id) | ||
| #print(properties) | ||
| #prop = properties.get('revision', []) | ||
|
|
||
| if 'properties' in properties: | ||
| print (properties['properties']) | ||
| if 'revision' in properties['properties'][0]: | ||
| print(properties['properties'][0]) | ||
| if 'revision' in properties['properties'][0] and properties['properties'][0]['revision'] [0] == TARGET_SHA: | ||
| build_with_sha = build | ||
| break | ||
|
|
||
| if build_with_sha: | ||
| print('Build started successfully for SHA:', TARGET_SHA) | ||
| break | ||
| else: | ||
| print('Build for SHA not started yet, retrying in', RETRY_INTERVAL, 'seconds') | ||
| time.sleep(RETRY_INTERVAL) | ||
| else: | ||
| print('Build did not start for SHA:', TARGET_SHA, 'after maximum retries') | ||
| exit(1) | ||
| " | ||
|
|
||
| - name: Stop and remove container | ||
| if: always() | ||
| run: | | ||
| docker stop "${{env.CONTAINER_NAME}}" | ||
| docker rm "${{env.CONTAINER_NAME}}" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium