llvm.org GIT mirror llvm / b60c02e
extload -> zextload git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33542 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 13 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
483483 def : ThumbPat<(zextloadi1 t_addrmode_s1:$addr),
484484 (tLDRB t_addrmode_s1:$addr)>;
485485
486 // extload -> zextload
487 def : ThumbPat<(extloadi1 t_addrmode_s1:$addr), (tLDRB t_addrmode_s1:$addr)>;
488 def : ThumbPat<(extloadi8 t_addrmode_s1:$addr), (tLDRB t_addrmode_s1:$addr)>;
489 def : ThumbPat<(extloadi16 t_addrmode_s2:$addr), (tLDRH t_addrmode_s2:$addr)>;
490
486491 // truncstore i1 -> truncstore i8
487492 def : ThumbPat<(truncstorei1 GPR:$src, t_addrmode_s1:$dst),
488493 (tSTRB GPR:$src, t_addrmode_s1:$dst)>;