diff options
| author | Justin Lebar <jlebar@google.com> | 2016-10-28 21:44:00 +0000 |
|---|---|---|
| committer | Justin Lebar <jlebar@google.com> | 2016-10-28 21:44:00 +0000 |
| commit | f0a80ba385b7e24e9f1cdb2a06fc6c77d7ddc062 (patch) | |
| tree | c136e45ab01eb1e17ee90ae5180bb5b966496cb7 /llvm/lib/LineEditor | |
| parent | 0ede5fb1bbdd2b19f1209d8e164633d56bbc2d6a (diff) | |
| download | bcm5719-llvm-f0a80ba385b7e24e9f1cdb2a06fc6c77d7ddc062.tar.gz bcm5719-llvm-f0a80ba385b7e24e9f1cdb2a06fc6c77d7ddc062.zip | |
[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
llvm-svn: 285461
Diffstat (limited to 'llvm/lib/LineEditor')
0 files changed, 0 insertions, 0 deletions

