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

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 22:29:24 PDT 2018


xbolva00 added inline comments.


================
Comment at: test/CodeGen/X86/divide-by-constant.ll:404
+; X64-NEXT:    retq
+  %2 = udiv i64 %0, 4000000000
+  %3 = urem i64 %0, 4000000000
----------------
another test for sdiv?


Repository:
  rL LLVM

https://reviews.llvm.org/D50936





More information about the llvm-commits mailing list