[PATCH] D54001: [ValueTracking] determine sign of 0.0 from select when matching min/max FP

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 07:54:29 PDT 2018


spatel updated this revision to Diff 172356.
spatel added a comment.

Patch updated:

1. Reduced code by checking for any FP zero followed by mismatch.
2. Added checks and unit tests to ignore vector constants with undef elements.


https://reviews.llvm.org/D54001

Files:
  lib/Analysis/ValueTracking.cpp
  test/Transforms/InstCombine/minmax-fp.ll
  unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54001.172356.patch
Type: text/x-patch
Size: 12415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/9a7c0fb5/attachment.bin>


More information about the llvm-commits mailing list