File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1053,39 +1053,39 @@ def : GCNPat<
10531053 (SI_ELSE $src, $target)
10541054>;
10551055
1056- def : Pat <
1056+ def : GCNPat <
10571057 (int_amdgcn_kill i1:$src),
10581058 (SI_KILL_I1_PSEUDO SCSrc_i1:$src, 0)
10591059>;
10601060
1061- def : Pat <
1061+ def : GCNPat <
10621062 (int_amdgcn_kill (i1 (not i1:$src))),
10631063 (SI_KILL_I1_PSEUDO SCSrc_i1:$src, -1)
10641064>;
10651065
1066- def : Pat <
1066+ def : GCNPat <
10671067 (int_amdgcn_kill (i1 (setcc f32:$src, InlineImmFP32:$imm, cond:$cond))),
10681068 (SI_KILL_F32_COND_IMM_PSEUDO VSrc_b32:$src, (bitcast_fpimm_to_i32 $imm), (cond_as_i32imm $cond))
10691069>;
10701070
1071- def : Pat <
1071+ def : GCNPat <
10721072 (int_amdgcn_wqm_demote i1:$src),
10731073 (SI_DEMOTE_I1 SCSrc_i1:$src, 0)
10741074>;
10751075
1076- def : Pat <
1076+ def : GCNPat <
10771077 (int_amdgcn_wqm_demote (i1 (not i1:$src))),
10781078 (SI_DEMOTE_I1 SCSrc_i1:$src, -1)
10791079>;
10801080
10811081 // TODO: we could add more variants for other types of conditionals
10821082
1083- def : Pat <
1083+ def : GCNPat <
10841084 (i64 (int_amdgcn_icmp i1:$src, (i1 0), (i32 33))),
10851085 (COPY $src) // Return the SGPRs representing i1 src
10861086>;
10871087
1088- def : Pat <
1088+ def : GCNPat <
10891089 (i32 (int_amdgcn_icmp i1:$src, (i1 0), (i32 33))),
10901090 (COPY $src) // Return the SGPRs representing i1 src
10911091>;
You can’t perform that action at this time.
0 commit comments