mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
minor updates
llvm-svn: 35143
This commit is contained in:
parent
04ecc07c25
commit
a1df6908d2
@ -20,12 +20,14 @@ This has a number of uses:
|
||||
|
||||
FreeBench/mason contains code like this:
|
||||
|
||||
static p_type m0u(p_type p) {
|
||||
typedef struct { int a; int b; int c; } p_type;
|
||||
extern int m[];
|
||||
p_type m0u(p_type *p) {
|
||||
int m[]={0, 8, 1, 2, 16, 5, 13, 7, 14, 9, 3, 4, 11, 12, 15, 10, 17, 6};
|
||||
p_type pu;
|
||||
pu.a = m[p.a];
|
||||
pu.b = m[p.b];
|
||||
pu.c = m[p.c];
|
||||
pu.a = m[p->a];
|
||||
pu.b = m[p->b];
|
||||
pu.c = m[p->c];
|
||||
return pu;
|
||||
}
|
||||
|
||||
@ -122,10 +124,6 @@ for 1,2,4,8 bytes.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
Add LSR exit value substitution. It'll probably be a win for Ackermann, etc.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
It would be nice to revert this patch:
|
||||
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060213/031986.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user