diff options
author | Chris Lattner <sabre@nondot.org> | 2011-05-23 20:17:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-05-23 20:17:44 +0000 |
commit | 32232fc2b5ae23be094e79e2f373d79eedbf297a (patch) | |
tree | 0d0abc844579b5aa4ee8f3c9f8cad01830bbf104 /lib/Target/README.txt | |
parent | 69c19f7316ed8e545c7339421b910543eb8e9eef (diff) |
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.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 260cb5ccab3..fcec368a213 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. //===---------------------------------------------------------------------===// |