[PATCH] D13029: [PatternMatch] Switch to using ValueTracking::matchSelectPattern for min/max matching

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 12:39:46 PDT 2015


jmolloy created this revision.
jmolloy added a reviewer: majnemer.
jmolloy added a subscriber: llvm-commits.
jmolloy set the repository for this revision to rL LLVM.

Instead of rolling our own min/max matching code (which is notoriously hard to get completely right), use ValueTracking's instead.

MFCI (minimal functional change intended)

Repository:
  rL LLVM

http://reviews.llvm.org/D13029

Files:
  include/llvm/IR/PatternMatch.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13029.35292.patch
Type: text/x-patch
Size: 4354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150921/28e32bfd/attachment.bin>


More information about the llvm-commits mailing list