From 32232fc2b5ae23be094e79e2f373d79eedbf297a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 23 May 2011 20:17:44 +0000 Subject: clarify this, apparently it is confusing :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131916 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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. //===---------------------------------------------------------------------===// -- cgit v1.2.3