add the other bool zextload as well

llvm-svn: 24854
This commit is contained in:
Chris Lattner 2005-12-19 01:44:58 +00:00
parent 766170c6ee
commit 2c792ccc62
1 changed files with 1 additions and 0 deletions

View File

@ -732,6 +732,7 @@ def : Pat<(i32 (extload ADDRri:$src, i16)), (LDUHri ADDRri:$src)>;
// zextload bool -> zextload byte
def : Pat<(i32 (zextload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
def : Pat<(i32 (zextload ADDRri:$src, i1)), (LDUBri ADDRri:$src)>;
// truncstore bool -> truncstore byte.
def : Pat<(truncstore IntRegs:$src, ADDRrr:$addr, i1),