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

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 14:15:02 PDT 2024


================
@@ -0,0 +1,523 @@
+; 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
+
+; XFAIL: *
+; FIXME: Fails on `byte2` because NVPTX wants to lower v2i8 to 2 i8s while 
+;   SelectionDAG wants to lower it to 1 v2i16. 
----------------
Artem-B wrote:

I'm not quite sure what `XFAIL: *` would do here. Will we ignore the failure if some other tests will start failing?

I'd just comment out the failing test with a TODO, and still check the rest.

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


More information about the llvm-commits mailing list