[PATCH] D50936: [DAGCombiner] Allow divide by constant optimization on opaque constants.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 21:49:45 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, chandlerc, spatel.

I believe this restores the behavior we had before r339147.

Fixes PR38622.


Repository:
  rL LLVM

https://reviews.llvm.org/D50936

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/divide-by-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50936.161369.patch
Type: text/x-patch
Size: 3837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180818/8703094f/attachment.bin>


More information about the llvm-commits mailing list