@@ -2402,19 +2402,6 @@ foreach size = ["i16", "i32", "i64"] in {
24022402 }
24032403}
24042404
2405- multiclass INT_PTX_ATOM_CAS_AS<string atomic_cmp_swap_without_as, string type, string order, list<Predicate> preds> {
2406- // eg. with type = 32, order = .acquire, atomic_cmp_swap_without_as = atomic_cmp_swap_i32_acquire, and _GEN becomes
2407- // F_ATOMIC_3<i32, Int32Regs, ".acquire", ".b32", ".cas", atomic_cmp_swap_i32_acquire, i32imm>
2408- defm _generic: F_ATOMIC_3<!cast<ValueType>("i"#type), !cast<NVPTXRegClass>("Int"#type#"Regs"), order, "", ".b"#type, ".cas",
2409- !cast<PatFrag>(atomic_cmp_swap_without_as#_generic), !cast<Operand>("i"#type#"imm"), preds>;
2410-
2411- defm _global: F_ATOMIC_3<!cast<ValueType>("i"#type), !cast<NVPTXRegClass>("Int"#type#"Regs"), order, ".global", ".b"#type, ".cas",
2412- !cast<PatFrag>(atomic_cmp_swap_without_as#_global), !cast<Operand>("i"#type#"imm"), preds>;
2413-
2414- defm _shared: F_ATOMIC_3<!cast<ValueType>("i"#type), !cast<NVPTXRegClass>("Int"#type#"Regs"), order, ".shared", ".b"#type, ".cas",
2415- !cast<PatFrag>(atomic_cmp_swap_without_as#_shared), !cast<Operand>("i"#type#"imm"), preds>;
2416- }
2417-
24182405// eg. with type = 32, order = ".acquire", addrspace = ".global",
24192406// atomic_cmp_swap_pat = atomic_cmp_swap_i32_acquire_global.
24202407// preds = [hasSM<70>, hasPTX<63>]
0 commit comments