Skip to content

[amdgpu-cfi: 1/9]: [MIR] Error on signed integer in getUnsigned - #183171

Merged
slinder1 merged 1 commit into
mainfrom
users/slinder1/I4efe961e7b29fdf1d5f97df12f8139aac12c9219
Feb 27, 2026
Merged

slinder1 merged 1 commit into
mainfrom
users/slinder1/I4efe961e7b29fdf1d5f97df12f8139aac12c9219

Conversation

Comment thread llvm/test/CodeGen/MIR/Generic/expected-unsigned.mir Outdated
Previously we effectively took the absolute value of the APSInt, instead
diagnose the unexpected negative value.

Change-Id: I4efe961e7b29fdf1d5f97df12f8139aac12c9219
@slinder1
slinder1 force-pushed the users/slinder1/I4efe961e7b29fdf1d5f97df12f8139aac12c9219 branch from a6ece64 to 15f2f56 Compare February 26, 2026 21:53
@slinder1

Copy link
Copy Markdown
Contributor Author

Changes since last push:

diff --git b/llvm/test/CodeGen/MIR/Generic/expected-unsigned.mir a/llvm/test/CodeGen/MIR/Generic/expected-unsigned.mir
@@ -1,4 +1,4 @@
-# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# RUN: not llc -run-pass=none -filetype=null %s 2>&1 | FileCheck %s
 
 # Stand in as a test of all uses of MIParser::getUnsigned to ensure it
 # rejects negative integers.

@slinder1
slinder1 merged commit 9210d70 into main Feb 27, 2026
13 of 17 checks passed
@slinder1
slinder1 deleted the users/slinder1/I4efe961e7b29fdf1d5f97df12f8139aac12c9219 branch February 27, 2026 14:31
sujianIBM pushed a commit to sujianIBM/llvm-project that referenced this pull request Mar 5, 2026
Previously we effectively took the absolute value of the APSInt, instead
diagnose the unexpected negative value.

Change-Id: I4efe961e7b29fdf1d5f97df12f8139aac12c9219
@slinder1

Copy link
Copy Markdown
Contributor Author
🛠️ Changes since last push (click to expand):

@slinder1

slinder1 commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

slinder1 commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

15 similar comments
@slinder1

slinder1 commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

@slinder1

Copy link
Copy Markdown
Contributor Author

🛠️ Changes since last push: none (likely a rebase)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants