Justin Lebar 30c499dfda [NVPTX] Compute 'rem' using the result of 'div', if possible.
Summary:
In isel, transform

  Num % Den

into

  Num - (Num / Den) * Den

if the result of Num / Den is already available.

Reviewers: tra

Subscribers: hfinkel, llvm-commits, jholewinski

Differential Revision: https://reviews.llvm.org/D26090

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285461 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-28 21:44:00 +00:00
..
2015-07-29 18:59:09 +00:00
2014-06-27 18:35:21 +00:00
2014-06-27 18:36:06 +00:00
2015-06-04 21:28:26 +00:00
2015-06-04 21:28:26 +00:00