Revert r133435 and r133449 to appease buildbots.
[oota-llvm.git] / lib / Target / README.txt
index 260cb5ccab34311d6fc2c6c59568a4eac6d78105..4e382e8f8ec1aa49dbfe5150e98918857a0e3b7d 100644 (file)
@@ -870,11 +870,6 @@ rshift_gt (unsigned int a)
    bar ();
 }
 
-void neg_eq_cst(unsigned int a) {
-if (-a == 123)
-bar();
-}
-
 All should simplify to a single comparison.  All of these are
 currently not optimized with "clang -emit-llvm-bc | opt
 -std-compile-opts".
@@ -2353,6 +2348,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.
 
 //===---------------------------------------------------------------------===//