diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-06-24 04:13:29 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-06-24 04:13:29 +0000 |
commit | 50165ffdee8b2be80b1dfc2b439c0131fb943958 (patch) | |
tree | e7ddff5f7232ad9eda1f2afa194b7d36097d4c49 /llvm/lib/Object/Object.cpp | |
parent | d157d470621134aa556e6aee940cfce5ce553a5b (diff) | |
download | llvm-50165ffdee8b2be80b1dfc2b439c0131fb943958.zip llvm-50165ffdee8b2be80b1dfc2b439c0131fb943958.tar.gz llvm-50165ffdee8b2be80b1dfc2b439c0131fb943958.tar.bz2 |
Add support for srem instruction
Remainder operations with constant divisor can be modeled as quasi-affine
expression. This patch adds support for detecting and modeling them. We also
add a test that ensures they are correctly code generated.
This patch was extracted from a larger patch contributed by Johannes Doerfert
in http://reviews.llvm.org/D5293
llvm-svn: 240518
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions