[llvm] [NVPTX] use incomplete aggregate initializers (PR #79062)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 17:01:10 PST 2024


================
@@ -26,6 +26,6 @@
 @Gblf64 = global [2 x double] [double 5.75e-25, double 12.25e+56]
 
 ; Make sure we fill in alignment gaps correctly.
-; CHECK-DAG: .b8 GblU[12] = {7, 6, 0, 0, 5, 4, 3, 2, 1, 0, 0, 0};
+; CHECK-DAG: .b8 GblU[12] = {7, 6, 0, 0, 5, 4, 3, 2, 1};
----------------
AlexMaclean wrote:

All added in `llvm/test/CodeGen/NVPTX/global-incomplete-init.ll`. I've verified this works with 10.2 `ptxas`.

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


More information about the llvm-commits mailing list