Skip to content
Commit 8448071d authored by Johannes Doerfert's avatar Johannes Doerfert
Browse files

Refactor division generation code

  This patch refactors the code generation for divisions. This allows to
  always generate a shift for a power-of-two division and to utilize
  information about constant divisors in order to truncate the result
  type.

llvm-svn: 271898
parent 3a407a09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment