git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315361
91177308-0d34-0410-b5e6-
96231b3b80d8
}
bool SIOptimizeExecMasking::runOnMachineFunction(MachineFunction &MF) {
+ if (skipFunction(*MF.getFunction()))
+ return false;
+
const SISubtarget &ST = MF.getSubtarget<SISubtarget>();
const SIRegisterInfo *TRI = ST.getRegisterInfo();
const SIInstrInfo *TII = ST.getInstrInfo();
bool SIPeepholeSDWA::runOnMachineFunction(MachineFunction &MF) {
const SISubtarget &ST = MF.getSubtarget<SISubtarget>();
- if (!ST.hasSDWA())
+ if (!ST.hasSDWA() || skipFunction(*MF.getFunction()))
return false;
MRI = &MF.getRegInfo();
; GCN-DAG: v_cmp_lt_i32
; GCN-DAG: v_cmp_gt_i32
; GCN: s_and_b64
-; GCN: s_and_saveexec_b64
+; GCN: s_mov_b64 exec
; GCN: s_or_b64 exec, exec
; GCN: v_cmp_eq_u32