[PATCH] Allow setcc (sext setcc) [0|1] [eq|ne] -> setcc

Matt Arsenault Matthew.Arsenault at amd.com
Sat Jul 19 23:21:51 PDT 2014


The cases where the inner setcc was directly compared
was handled, but not if the setcc type needs to be promoted
when comparing.
    
Remove redundant R600 handling of a subset of cases the existing 
function handles.

http://reviews.llvm.org/D4600

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/R600/SIISelLowering.cpp
  test/CodeGen/R600/setcc-opt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4600.11691.patch
Type: text/x-patch
Size: 4990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140720/760c320c/attachment.bin>


More information about the llvm-commits mailing list