[PATCH] Fix fcmp + fabs instcombines when using the intrinsic

Matt Arsenault Matthew.Arsenault at amd.com
Wed Nov 19 10:52:12 PST 2014


This was only handling the libcall. This is another example
of why only the intrinsic should ever be used when it exists.

http://reviews.llvm.org/D6323

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/fcmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6323.16392.patch
Type: text/x-patch
Size: 7653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141119/b01d434b/attachment.bin>


More information about the llvm-commits mailing list