[PATCH] D15655: Fix broken type legalization of min/max

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 14:23:50 PST 2015


arsenm created this revision.
arsenm added a reviewer: jmolloy.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.

This was using an anyext when promoting the type when zext/sext is required.

http://reviews.llvm.org/D15655

Files:
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  test/CodeGen/AMDGPU/max.ll
  test/CodeGen/AMDGPU/min.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15655.43269.patch
Type: text/x-patch
Size: 6328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151218/fb9260d8/attachment.bin>


More information about the llvm-commits mailing list