[llvm-commits] [llvm] r131916 - /llvm/trunk/lib/Target/README.txt
Chris Lattner
sabre at nondot.org
Mon May 23 13:17:44 PDT 2011
Author: lattner
Date: Mon May 23 15:17:44 2011
New Revision: 131916
URL: http://llvm.org/viewvc/llvm-project?rev=131916&view=rev
Log:
clarify this, apparently it is confusing :)
Modified:
llvm/trunk/lib/Target/README.txt
Modified: llvm/trunk/lib/Target/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/README.txt?rev=131916&r1=131915&r2=131916&view=diff
==============================================================================
--- llvm/trunk/lib/Target/README.txt (original)
+++ llvm/trunk/lib/Target/README.txt Mon May 23 15:17:44 2011
@@ -2353,6 +2353,8 @@
%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.
//===---------------------------------------------------------------------===//
More information about the llvm-commits
mailing list