diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 17617ad5473..e59c28697a1 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -73,7 +73,25 @@ This has a number of uses: //===---------------------------------------------------------------------===// -Make the PPC branch selector target independant +We should recognized various "overflow detection" idioms and translate them into +llvm.uadd.with.overflow and similar intrinsics. For example, we compile this: + +size_t add(size_t a,size_t b) { + if (a+b