projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set REQUIRES shell on the test cases for r186044
[oota-llvm.git]
/
lib
/
Target
/
README.txt
diff --git
a/lib/Target/README.txt
b/lib/Target/README.txt
index cbfa4cf35ba2f35ebf50ea79883ce7ad403fc5c7..a9aab86abdacb830e02f8c364723e8ed94f25541 100644
(file)
--- a/
lib/Target/README.txt
+++ b/
lib/Target/README.txt
@@
-152,7
+152,7
@@
stuff too.
//===---------------------------------------------------------------------===//
//===---------------------------------------------------------------------===//
-For vector types,
TargetData
.cpp::getTypeInfo() returns alignment that is equal
+For vector types,
DataLayout
.cpp::getTypeInfo() returns alignment that is equal
to the type size. It works but can be overly conservative as the alignment of
specific vector types are target dependent.
to the type size. It works but can be overly conservative as the alignment of
specific vector types are target dependent.
@@
-262,22
+262,7
@@
unsigned countbits_slow(unsigned v) {
c += v & 1;
return c;
}
c += v & 1;
return c;
}
-unsigned countbits_fast(unsigned v){
- unsigned c;
- for (c = 0; v; c++)
- v &= v - 1; // clear the least significant bit set
- return c;
-}
-BITBOARD = unsigned long long
-int PopCnt(register BITBOARD a) {
- register int c=0;
- while(a) {
- c++;
- a &= a - 1;
- }
- return c;
-}
unsigned int popcount(unsigned int input) {
unsigned int count = 0;
for (unsigned int i = 0; i < 4 * 8; i++)
unsigned int popcount(unsigned int input) {
unsigned int count = 0;
for (unsigned int i = 0; i < 4 * 8; i++)
@@
-2367,8
+2352,3
@@
unsigned foo(unsigned x, unsigned y) { return x > y && x != 0; }
should fold to x > y.
//===---------------------------------------------------------------------===//
should fold to x > y.
//===---------------------------------------------------------------------===//
-
-int f(double x) { return __builtin_fabs(x) < 0.0; }
-should fold to false.
-
-//===---------------------------------------------------------------------===//