[PATCH] D87555: [DivRemPairs] Add an initial case for hoisting to a common predecessor.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 01:10:04 PDT 2020


craig.topper updated this revision to Diff 291448.
craig.topper added a comment.

Ensure that the div/rem are the start of their basic blocks so they are guaranteed to execute.

Still need to add negative tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87555

Files:
  llvm/lib/Transforms/Scalar/DivRemPairs.cpp
  llvm/test/Transforms/DivRemPairs/X86/div-expanded-rem-pair.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87555.291448.patch
Type: text/x-patch
Size: 4314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200913/9ed81e0f/attachment.bin>


More information about the llvm-commits mailing list