[PATCH] D69038: [InstCombine] Fix miscompile bug in canEvaluateShuffled

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 10:37:38 PDT 2019


bjope updated this revision to Diff 225257.
bjope added a comment.

- Fixup mistake regarding FDiv (it was not supposed to be included in the new restriction).
- Added test cases for sdiv/urem/udiv (showing that the new restriction works).
- Added test cases for fdiv/frem (showing that we can eliminate the shufflevector).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69038/new/

https://reviews.llvm.org/D69038

Files:
  llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  llvm/test/Transforms/InstCombine/shufflevector-div-rem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69038.225257.patch
Type: text/x-patch
Size: 4974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191016/858d9ed2/attachment.bin>


More information about the llvm-commits mailing list