[RISCV] clang permits invalid operand for Zclsd instructions in inline assembly when using any optimization level other than -O0
#31124
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
| name: LLVM Bugs notifier | |
| permissions: | |
| contents: read | |
| issues: read | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| jobs: | |
| auto-subscribe: | |
| runs-on: ubuntu-24.04 | |
| if: github.repository == 'llvm/llvm-project' | |
| steps: | |
| - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 | |
| with: | |
| node-version: 18 | |
| check-latest: true | |
| - run: npm install mailgun.js form-data | |
| - name: Send notification | |
| uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 | |
| env: | |
| MAILGUN_API_KEY: ${{ secrets.LLVM_BUGS_KEY }} | |
| with: | |
| script: | | |
| const Mailgun = require('mailgun.js'); | |
| const formData = require('form-data'); | |
| const mailgun = new Mailgun(formData); | |
| const DOMAIN = 'email.llvm.org'; | |
| const mg = mailgun.client({ username: 'api', key: process.env.MAILGUN_API_KEY }); | |
| github.rest.issues.get({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo | |
| }) | |
| .then((issue) => { | |
| const payload = { | |
| author : issue.data.user.login, | |
| issue : issue.data.number, | |
| title : issue.data.title, | |
| url : issue.data.html_url, | |
| labels : issue.data.labels.map((label) => label.name), | |
| assignee : issue.data.assignees.map((assignee) => assignee.login), | |
| body : issue.data.body | |
| }; | |
| const data = { | |
| from: 'LLVM Bugs <[email protected]>', | |
| to: '[email protected]', | |
| subject: `[Bug ${issue.data.number}] ${issue.data.title}`, | |
| template: 'new-github-issue', | |
| 'o:tracking-clicks': 'no', | |
| 'h:X-Mailgun-Variables': JSON.stringify(payload) | |
| }; | |
| return mg.messages.create(DOMAIN, data); | |
| }) | |
| .then((msg) => console.log(msg)); |