[PATCH] D51000: [BypassSlowDivision] Teach bypass slow division not to interfere with div by constant where constants have been constant hoisted, but not moved from their basic block

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 16:55:14 PDT 2018


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

Use dyn_cast


https://reviews.llvm.org/D51000

Files:
  lib/Transforms/Utils/BypassSlowDivision.cpp
  test/CodeGen/X86/divide-by-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51000.161624.patch
Type: text/x-patch
Size: 4921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180820/363c54a5/attachment.bin>


More information about the llvm-commits mailing list