[llvm] [NVPTX] Attempt to load params using symbol addition node directly (PR #119935)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 14:38:59 PST 2025


================
@@ -0,0 +1,180 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -march=nvptx64 --debug-counter=dagcombine=0 | FileCheck %s
+; RUN: %if ptxas %{ llc < %s -march=nvptx64 | %ptxas-verify %}
+
+; REQUIRES: asserts
+; asserts are required for --debug-counter=dagcombine=0 to have the intended
+; effect of disabling DAG combines, which exposes the bug. When combines are
+; enabled the bug does not occur.
+
+%struct.8float = type <{ [8 x float] }>
----------------
Artem-B wrote:

I think the issues should be reproducible with `<{ [1 x float] }>` and that will reduce the amount of uninteresting code produced by the test.

On a side note, Looks like we have another issue somewhere: https://godbolt.org/z/hPdz1zMdb

https://github.com/llvm/llvm-project/pull/119935


More information about the llvm-commits mailing list