clarify this, apparently it is confusing :)
authorChris Lattner <sabre@nondot.org>
Mon, 23 May 2011 20:17:44 +0000 (20:17 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 May 2011 20:17:44 +0000 (20:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131916 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 260cb5ccab34311d6fc2c6c59568a4eac6d78105..fcec368a213b6eedf332ed035be71f0d36a6b309 100644 (file)
@@ -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.
 
 //===---------------------------------------------------------------------===//