File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1807,6 +1807,20 @@ module {
18071807
18081808// -----
18091809
1810+ // expected-error@below {{'ProfileFormat' must be 'SampleProfile', 'InstrProf' or 'CSInstrProf'}}
1811+ llvm.module_flags [#llvm.mlir.module_flag <error , " ProfileSummary" ,
1812+ #llvm.profile_summary <format = " YoloFmt" , total_count = 263646 , max_count = 86427 ,
1813+ max_internal_count = 86427 , max_function_count = 4691 ,
1814+ num_counts = 3712 , num_functions = 796 ,
1815+ is_partial_profile = 0 : i64 ,
1816+ partial_profile_ratio = 0.000000e+00 : f64 ,
1817+ detailed_summary = [
1818+ #llvm.profile_summary_detailed <cut_off = 10000 , min_count = 86427 , num_counts = 1 >,
1819+ #llvm.profile_summary_detailed <cut_off = 100000 , min_count = 86427 , num_counts = 1 >
1820+ ]>>]
1821+
1822+ // -----
1823+
18101824llvm.func @t0 () -> !llvm.ptr {
18111825 %0 = llvm.blockaddress <function = @t0 , tag = <id = 1 >> : !llvm.ptr
18121826 llvm.blocktag <id = 1 >
You can’t perform that action at this time.
0 commit comments