do sign/zero extensions removal in copy.c

This commit is contained in:
Quentin Carbonneaux 2017-02-25 14:48:15 -05:00
parent e46b4e31e8
commit 2c2db15995
6 changed files with 66 additions and 56 deletions

11
all.h
View file

@ -228,7 +228,7 @@ enum Op {
Ostores,
Ostored,
#define isstore(o) (Ostoreb <= o && o <= Ostored)
Oloadsb, /* needs to match OExt (mem.c) */
Oloadsb, /* must match Oext and Tmp.width */
Oloadub,
Oloadsh,
Oloaduh,
@ -407,6 +407,15 @@ struct Tmp {
} hint;
int phi;
Alias alias;
enum {
WFull,
Wsb, /* must match Oload/Oext order */
Wub,
Wsh,
Wuh,
Wsw,
Wuw
} width;
int visit;
};