@@ -1546,17 +1546,17 @@ define void @useless_arg_ext_int_ext(i32* %a) {
15461546; FIXME: We should fold terminators.
15471547
15481548define internal i32 @switch_default (i64 %i ) nounwind {
1549- ; IS__TUNIT____ -LABEL: define {{[^@]+}}@switch_default()
1550- ; IS__TUNIT____ -NEXT: entry:
1551- ; IS__TUNIT____ -NEXT: switch i64 0, label [[SW_DEFAULT:%.*]] [
1552- ; IS__TUNIT____ -NEXT: i64 3, label [[RETURN:%.*]]
1553- ; IS__TUNIT____ -NEXT: i64 10, label [[RETURN]]
1554- ; IS__TUNIT____ -NEXT: ]
1555- ; IS__TUNIT____ : sw.default:
1556- ; IS__TUNIT____ -NEXT: call void @sink()
1557- ; IS__TUNIT____ -NEXT: ret i32 undef
1558- ; IS__TUNIT____ : return:
1559- ; IS__TUNIT____ -NEXT: unreachable
1549+ ; NOT_CGSCC_NPM -LABEL: define {{[^@]+}}@switch_default()
1550+ ; NOT_CGSCC_NPM -NEXT: entry:
1551+ ; NOT_CGSCC_NPM -NEXT: switch i64 0, label [[SW_DEFAULT:%.*]] [
1552+ ; NOT_CGSCC_NPM -NEXT: i64 3, label [[RETURN:%.*]]
1553+ ; NOT_CGSCC_NPM -NEXT: i64 10, label [[RETURN]]
1554+ ; NOT_CGSCC_NPM -NEXT: ]
1555+ ; NOT_CGSCC_NPM : sw.default:
1556+ ; NOT_CGSCC_NPM -NEXT: call void @sink()
1557+ ; NOT_CGSCC_NPM -NEXT: ret i32 undef
1558+ ; NOT_CGSCC_NPM : return:
1559+ ; NOT_CGSCC_NPM -NEXT: unreachable
15601560;
15611561; IS__CGSCC____-LABEL: define {{[^@]+}}@switch_default()
15621562; IS__CGSCC____-NEXT: entry:
@@ -1637,10 +1637,10 @@ define void @call_via_pointer_with_dead_args(i32* %a, i32* %b, void (i32*, i32*,
16371637}
16381638; FIXME: We have to prevent the propagation of %fp in the new pm CGSCC pass until the CallGraphUpdater can handle the new call edge.
16391639define internal void @call_via_pointer_with_dead_args_internal_a (i32* %a , i32* %b , void (i32* , i32* , i32* , i64 , i32** )* %fp ) {
1640- ; IS__TUNIT____ -LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_a
1641- ; IS__TUNIT____ -SAME: (i32* [[A:%.*]], i32* nonnull align 128 dereferenceable(4) [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
1642- ; IS__TUNIT____ -NEXT: call void @called_via_pointer(i32* [[A]], i32* nonnull align 128 dereferenceable(4) [[B]], i32* [[A]], i64 -1, i32** null)
1643- ; IS__TUNIT____ -NEXT: ret void
1640+ ; NOT_CGSCC_NPM -LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_a
1641+ ; NOT_CGSCC_NPM -SAME: (i32* [[A:%.*]], i32* nonnull align 128 dereferenceable(4) [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
1642+ ; NOT_CGSCC_NPM -NEXT: call void @called_via_pointer(i32* [[A]], i32* nonnull align 128 dereferenceable(4) [[B]], i32* [[A]], i64 -1, i32** null)
1643+ ; NOT_CGSCC_NPM -NEXT: ret void
16441644;
16451645; IS__CGSCC____-LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_a
16461646; IS__CGSCC____-SAME: (i32* [[A:%.*]], i32* [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
@@ -1651,10 +1651,10 @@ define internal void @call_via_pointer_with_dead_args_internal_a(i32* %a, i32* %
16511651 ret void
16521652}
16531653define internal void @call_via_pointer_with_dead_args_internal_b (i32* %a , i32* %b , void (i32* , i32* , i32* , i64 , i32** )* %fp ) {
1654- ; IS__TUNIT____ -LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_b
1655- ; IS__TUNIT____ -SAME: (i32* [[A:%.*]], i32* nonnull align 128 dereferenceable(4) [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
1656- ; IS__TUNIT____ -NEXT: call void @called_via_pointer_internal_2(i32* [[A]], i32* nonnull align 128 dereferenceable(4) [[B]], i32* [[A]], i64 -1, i32** null)
1657- ; IS__TUNIT____ -NEXT: ret void
1654+ ; NOT_CGSCC_NPM -LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_b
1655+ ; NOT_CGSCC_NPM -SAME: (i32* [[A:%.*]], i32* nonnull align 128 dereferenceable(4) [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
1656+ ; NOT_CGSCC_NPM -NEXT: call void @called_via_pointer_internal_2(i32* [[A]], i32* nonnull align 128 dereferenceable(4) [[B]], i32* [[A]], i64 -1, i32** null)
1657+ ; NOT_CGSCC_NPM -NEXT: ret void
16581658;
16591659; IS__CGSCC____-LABEL: define {{[^@]+}}@call_via_pointer_with_dead_args_internal_b
16601660; IS__CGSCC____-SAME: (i32* [[A:%.*]], i32* [[B:%.*]], void (i32*, i32*, i32*, i64, i32**)* nocapture nofree nonnull [[FP:%.*]])
0 commit comments