[PATCH] D28135: SelectionDAG: Fix in legalization of UMAX/SMAX/UMIN/SMIN. Solves PR31486.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 28 08:44:16 PST 2016


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/legalize-umax-bug.mir:1-2
+# RUN: llc -march=r600 -mcpu=cypress -start-after safe-stack %s -o /dev/null
+
+# Don't crash
----------------
Having a MIR test for a SelectionDAG bug doesn't really make sense. This should be a regular IR test.

Also can you run opt -instnamer on it?


https://reviews.llvm.org/D28135





More information about the llvm-commits mailing list