[PATCH] D41342: [InstCombine] Missed optimization in math expression: simplify calls exp functions

Dmitry Venikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 00:55:40 PST 2017


Quolyk updated this revision to Diff 127665.
Quolyk retitled this revision from "[WIP][InstCombine] Missed optimization in math expression: simplify calls exp functions" to "[InstCombine] Missed optimization in math expression: simplify calls exp functions".
Quolyk added a comment.

Since I'm new to llvm, I looked though other test files, and noticed that it isn't necessary to write full test-check, instead people write just one instruction to make sure test is ok, while consequent instructions doesn't matter. I wonder what style is preferred?


https://reviews.llvm.org/D41342

Files:
  lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  test/Transforms/InstCombine/fmul-exp.ll
  test/Transforms/InstCombine/fmul-exp2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41342.127665.patch
Type: text/x-patch
Size: 6558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/63038a09/attachment.bin>


More information about the llvm-commits mailing list