summaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-05-23 20:17:44 +0000
committerChris Lattner <sabre@nondot.org>2011-05-23 20:17:44 +0000
commit32232fc2b5ae23be094e79e2f373d79eedbf297a (patch)
tree0d0abc844579b5aa4ee8f3c9f8cad01830bbf104 /lib/Target/README.txt
parent69c19f7316ed8e545c7339421b910543eb8e9eef (diff)
downloadllvm-32232fc2b5ae23be094e79e2f373d79eedbf297a.tar.gz
llvm-32232fc2b5ae23be094e79e2f373d79eedbf297a.tar.bz2
llvm-32232fc2b5ae23be094e79e2f373d79eedbf297a.tar.xz
clarify this, apparently it is confusing :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 260cb5ccab..fcec368a21 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -2353,6 +2353,8 @@ store_bit_field). The rem should be replaced with a multiply and subtract:
%3 = sdiv i32 %A, %B
%4 = srem i32 %A, %B
-Similarly for udiv/urem.
+Similarly for udiv/urem. Note that this shouldn't be done on X86 or ARM,
+which can do this in a single operation (instruction or libcall). It is
+probably best to do this in the code generator.
//===---------------------------------------------------------------------===//