[llvm] [AIX] Handle toc-data offset overflowing 16-bits (PR #80092)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 19:05:04 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r efac016e32f3b7ded78650b0e40a9880a298bdbe...becb7cf5d662e3a885801e5236d977b240a6626f llvm/test/CodeGen/PowerPC/aix-overflow-toc-data.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- aix-overflow-toc-data.py 2024-01-31 02:56:46.000000 +0000
+++ aix-overflow-toc-data.py 2024-01-31 03:04:57.305821 +0000
@@ -24,11 +24,11 @@
for x in range(0, numentries):
print("store i32 1, i32* @a%d, align 4" % (x))
print("ret void")
print("}")
-print("attributes #0 = { \"toc-data\" }")
+print('attributes #0 = { "toc-data" }')
# 32-bit assembly check
# ASM32: la 4, a0[TD](2)
# ASM32: la 4, a1[TD](2)
``````````
</details>
https://github.com/llvm/llvm-project/pull/80092
More information about the llvm-commits
mailing list