summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commitd71ed9431ad2ab5516cc7e468adc610bdc681d9b (patch)
tree94e2779d9f49b3430f30ec251c27eb12151742f0 /llvm/lib/Target
parentf9e5750fc8dd7134df9b83f0d4b895741e374e3b (diff)
downloadbcm5719-llvm-d71ed9431ad2ab5516cc7e468adc610bdc681d9b.tar.gz
bcm5719-llvm-d71ed9431ad2ab5516cc7e468adc610bdc681d9b.zip
clarify this, apparently it is confusing :)
llvm-svn: 131916
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/README.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index 260cb5ccab3..fcec368a213 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/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.
//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud