[llvm] [NVPTX] Fix crash caused by ComputePTXValueVTs (PR #104524)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 13:58:34 PDT 2024


================
@@ -0,0 +1,61 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
+
+target triple = "nvptx-nvidia-cuda"
+
+define <6 x half> @half6() {
----------------
justinfargnoli wrote:

Ahh, I see. Thanks for the clarification. 

I've added this in `vector-returns.ll` because the test cases won't touch the `ComputePTXValueVTs()` bug fix.

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


More information about the llvm-commits mailing list