forked from OSchip/llvm-project
parent
c70ed7721b
commit
030672f16b
|
@ -713,3 +713,12 @@ def : Pat<(V8lo tconstpool:$in), (ORri G0, tconstpool:$in)>;
|
|||
|
||||
// Return of a value, which has an input flag.
|
||||
def : Pat<(retflag ICC/*HACK*/), (RETL)>;
|
||||
|
||||
// Map integer extload's to zextloads.
|
||||
// Handling 1 bit extload
|
||||
def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
|
||||
def : Pat<(i32 (extload ADDRri:$src, i1)), (LDUBri ADDRri:$src)>;
|
||||
def : Pat<(i32 (extload ADDRrr:$src, i8)), (LDUBrr ADDRrr:$src)>;
|
||||
def : Pat<(i32 (extload ADDRri:$src, i8)), (LDUBri ADDRri:$src)>;
|
||||
def : Pat<(i32 (extload ADDRrr:$src, i16)), (LDUHrr ADDRrr:$src)>;
|
||||
def : Pat<(i32 (extload ADDRri:$src, i16)), (LDUHri ADDRri:$src)>;
|
||||
|
|
Loading…
Reference in New Issue