[PATCH] D37019: Add select simplifications

Michael Berg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 09:51:53 PDT 2017


mcberg2017 updated this revision to Diff 115856.
mcberg2017 added a comment.

Ok, that is a nice way to guard FP ops, subsequently I have removed the flag argument in this patch to rely on that and on whatever the BinaryOperator has set on it.  The test file is also updated and a subsequent test run is clean.


https://reviews.llvm.org/D37019

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/select_arithmetic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37019.115856.patch
Type: text/x-patch
Size: 7729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/8593ed98/attachment.bin>


More information about the llvm-commits mailing list