[PATCH] D48067: [InstCombine] Replacing X86-specific rounding intrinsics with generic floor-ceil

Mikhail Dvoretckii via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 09:03:45 PDT 2018


mike.dvoretsky updated this revision to Diff 151360.
mike.dvoretsky marked 3 inline comments as done.
mike.dvoretsky added a comment.

Fixed the typo in the test name and added checks to make the transform stop if the rounding mode immediate and/or SAE are not constant.


https://reviews.llvm.org/D48067

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/X86/x86-avx.ll
  llvm/test/Transforms/InstCombine/X86/x86-avx512.ll
  llvm/test/Transforms/InstCombine/X86/x86-sse41.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48067.151360.patch
Type: text/x-patch
Size: 25699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/8e38ac99/attachment-0001.bin>


More information about the llvm-commits mailing list