[PATCH] D20225: SelectionDAG: Select min/max when both are used

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 19:06:38 PDT 2016


arsenm added inline comments.

================
Comment at: test/CodeGen/AMDGPU/select-i1.ll:16
@@ -15,1 +15,3 @@
 
+; FUNC-LABEL: {{^}}s_minmax_i1:
+define void @s_minmax_i1(i1 addrspace(1)* %out, i1 %cond, i1 %a, i1 %b) nounwind {
----------------
junbuml wrote:
> You need to add your check.
This won't actually be hit because min/max isn't legal for i1


http://reviews.llvm.org/D20225





More information about the llvm-commits mailing list