def : RMWI<anyextloadi8, operator, truncstorei8, mode, imm64, insn>;
}
-// Record that INSN conditionally performs load operation LOAD into a
-// register of class CLS. The load may trap even if the condition is false.
-multiclass CondLoad<Instruction insn, RegisterOperand cls,
- SDPatternOperator load> {
- def : Pat<(z_select_ccmask (load bdaddr20only:$addr), cls:$new, uimm8zx4,
- uimm8zx4:$cc),
- (insn cls:$new, bdaddr20only:$addr, uimm8zx4:$cc)>,
- Requires<[FeatureLoadStoreOnCond]>;
- def : Pat<(z_select_ccmask cls:$new, (load bdaddr20only:$addr), uimm8zx4,
- uimm8zx4:$cc),
- (insn cls:$new, bdaddr20only:$addr, (INVCC uimm8zx4:$cc))>,
- Requires<[FeatureLoadStoreOnCond]>;
-}
-
// Record that INSN performs insertion TYPE into a register of class CLS.
// The inserted operand is loaded using LOAD from an address of mode MODE.
multiclass InsertMem<string type, Instruction insn, RegisterOperand cls,