[PATCH] Fix optimisations of SELECT_CC which assumed result is boolean

Oliver Stannard oliver.stannard at arm.com
Fri Nov 14 08:55:41 PST 2014


Check N1 rather than N1C, so that this optimisation also works on vectors.

http://reviews.llvm.org/D6249

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/select_xform.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6249.16217.patch
Type: text/x-patch
Size: 4075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141114/28101a99/attachment.bin>


More information about the llvm-commits mailing list