|
|
@@ -84,7 +84,7 @@ fn RuntimeCallBadReturnType(a: f64, b: f64) -> bool {
|
|
|
// CHECK:STDOUT: import Core//prelude/operators/comparison
|
|
|
// CHECK:STDOUT: import Core//prelude/types/bool
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %import_ref: %Float.type = import_ref Core//prelude/types, inst+32, loaded [template = constants.%Float]
|
|
|
+// CHECK:STDOUT: %import_ref: %Float.type = import_ref Core//prelude/types, inst+35, loaded [template = constants.%Float]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
@@ -92,55 +92,61 @@ fn RuntimeCallBadReturnType(a: f64, b: f64) -> bool {
|
|
|
// CHECK:STDOUT: .Core = imports.%Core
|
|
|
// CHECK:STDOUT: .Div = %Div.decl
|
|
|
// CHECK:STDOUT: .RuntimeCall = %RuntimeCall.decl
|
|
|
-// CHECK:STDOUT: .a = %a.loc8
|
|
|
+// CHECK:STDOUT: .a = %a
|
|
|
// CHECK:STDOUT: .b = @__global_init.%b
|
|
|
// CHECK:STDOUT: .c = @__global_init.%c
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
// CHECK:STDOUT: %Div.decl: %Div.type = fn_decl @Div [template = constants.%Div] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc2_11.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc2_11: init type = call constants.%Float(%.loc2_11.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_11.2: type = value_of_initializer %float.make_type.loc2_11 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_11.3: type = converted %float.make_type.loc2_11, %.loc2_11.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc2_8.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @Div.%a: f64 = bind_name a, %a.loc2_8.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc2_19.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc2_19: init type = call constants.%Float(%.loc2_19.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_19.2: type = value_of_initializer %float.make_type.loc2_19 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_19.3: type = converted %float.make_type.loc2_19, %.loc2_19.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc2_16.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @Div.%b: f64 = bind_name b, %b.loc2_16.1
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
// CHECK:STDOUT: %.loc2_27.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc2_27: init type = call constants.%Float(%.loc2_27.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_27.2: type = value_of_initializer %float.make_type.loc2_27 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc2_27.3: type = converted %float.make_type.loc2_27, %.loc2_27.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @Div.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %RuntimeCall.decl: %RuntimeCall.type = fn_decl @RuntimeCall [template = constants.%RuntimeCall] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc4_19.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc4_19: init type = call constants.%Float(%.loc4_19.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_19.2: type = value_of_initializer %float.make_type.loc4_19 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_19.3: type = converted %float.make_type.loc4_19, %.loc4_19.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc4_16.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @RuntimeCall.%a: f64 = bind_name a, %a.loc4_16.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc4_27.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc4_27: init type = call constants.%Float(%.loc4_27.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_27.2: type = value_of_initializer %float.make_type.loc4_27 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_27.3: type = converted %float.make_type.loc4_27, %.loc4_27.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc4_24.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @RuntimeCall.%b: f64 = bind_name b, %b.loc4_24.1
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
// CHECK:STDOUT: %.loc4_35.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc4_35: init type = call constants.%Float(%.loc4_35.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_35.2: type = value_of_initializer %float.make_type.loc4_35 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc4_35.3: type = converted %float.make_type.loc4_35, %.loc4_35.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @RuntimeCall.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %.loc8_8.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc8: init type = call constants.%Float(%.loc8_8.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_8.2: type = value_of_initializer %float.make_type.loc8 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_8.3: type = converted %float.make_type.loc8, %.loc8_8.2 [template = f64]
|
|
|
// CHECK:STDOUT: %a.var: ref f64 = var a
|
|
|
-// CHECK:STDOUT: %a.loc8: ref f64 = bind_name a, %a.var
|
|
|
+// CHECK:STDOUT: %a: ref f64 = bind_name a, %a.var
|
|
|
// CHECK:STDOUT: %.loc9_8.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc9: init type = call constants.%Float(%.loc9_8.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc9_8.2: type = value_of_initializer %float.make_type.loc9 [template = f64]
|
|
|
@@ -228,7 +234,7 @@ fn RuntimeCallBadReturnType(a: f64, b: f64) -> bool {
|
|
|
// CHECK:STDOUT: import Core//prelude/operators/comparison
|
|
|
// CHECK:STDOUT: import Core//prelude/types/bool
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %import_ref.1: %Float.type = import_ref Core//prelude/types, inst+32, loaded [template = constants.%Float]
|
|
|
+// CHECK:STDOUT: %import_ref.1: %Float.type = import_ref Core//prelude/types, inst+35, loaded [template = constants.%Float]
|
|
|
// CHECK:STDOUT: %import_ref.2: %Bool.type = import_ref Core//prelude/types/bool, inst+2, loaded [template = constants.%Bool]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
@@ -245,135 +251,156 @@ fn RuntimeCallBadReturnType(a: f64, b: f64) -> bool {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
// CHECK:STDOUT: %TooFew.decl: %TooFew.type = fn_decl @TooFew [template = constants.%TooFew] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc8_14.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc8_14: init type = call constants.%Float(%.loc8_14.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_14.2: type = value_of_initializer %float.make_type.loc8_14 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_14.3: type = converted %float.make_type.loc8_14, %.loc8_14.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc8_11.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @TooFew.%a: f64 = bind_name a, %a.loc8_11.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc8_22.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc8_22: init type = call constants.%Float(%.loc8_22.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_22.2: type = value_of_initializer %float.make_type.loc8_22 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc8_22.3: type = converted %float.make_type.loc8_22, %.loc8_22.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @TooFew.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %TooMany.decl: %TooMany.type = fn_decl @TooMany [template = constants.%TooMany] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: %c.patt: f64 = binding_pattern c
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc13_15.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc13_15: init type = call constants.%Float(%.loc13_15.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_15.2: type = value_of_initializer %float.make_type.loc13_15 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_15.3: type = converted %float.make_type.loc13_15, %.loc13_15.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc13_12.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @TooMany.%a: f64 = bind_name a, %a.loc13_12.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc13_23.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc13_23: init type = call constants.%Float(%.loc13_23.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_23.2: type = value_of_initializer %float.make_type.loc13_23 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_23.3: type = converted %float.make_type.loc13_23, %.loc13_23.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc13_20.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @TooMany.%b: f64 = bind_name b, %b.loc13_20.1
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
// CHECK:STDOUT: %.loc13_31.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc13_31: init type = call constants.%Float(%.loc13_31.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_31.2: type = value_of_initializer %float.make_type.loc13_31 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_31.3: type = converted %float.make_type.loc13_31, %.loc13_31.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %c.loc13_28.1: f64 = param c, runtime_param2
|
|
|
-// CHECK:STDOUT: @TooMany.%c: f64 = bind_name c, %c.loc13_28.1
|
|
|
+// CHECK:STDOUT: %c.param: f64 = param c, runtime_param2
|
|
|
+// CHECK:STDOUT: %c: f64 = bind_name c, %c.param
|
|
|
// CHECK:STDOUT: %.loc13_39.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc13_39: init type = call constants.%Float(%.loc13_39.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_39.2: type = value_of_initializer %float.make_type.loc13_39 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc13_39.3: type = converted %float.make_type.loc13_39, %.loc13_39.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @TooMany.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %BadReturnType.decl: %BadReturnType.type = fn_decl @BadReturnType [template = constants.%BadReturnType] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc17_21.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc17_21: init type = call constants.%Float(%.loc17_21.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc17_21.2: type = value_of_initializer %float.make_type.loc17_21 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc17_21.3: type = converted %float.make_type.loc17_21, %.loc17_21.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc17_18.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @BadReturnType.%a: f64 = bind_name a, %a.loc17_18.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc17_29.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc17_29: init type = call constants.%Float(%.loc17_29.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc17_29.2: type = value_of_initializer %float.make_type.loc17_29 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc17_29.3: type = converted %float.make_type.loc17_29, %.loc17_29.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc17_26.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @BadReturnType.%b: f64 = bind_name b, %b.loc17_26.1
|
|
|
-// CHECK:STDOUT: %bool.make_type.loc17: init type = call constants.%Bool() [template = bool]
|
|
|
-// CHECK:STDOUT: %.loc17_37.1: type = value_of_initializer %bool.make_type.loc17 [template = bool]
|
|
|
-// CHECK:STDOUT: %.loc17_37.2: type = converted %bool.make_type.loc17, %.loc17_37.1 [template = bool]
|
|
|
-// CHECK:STDOUT: @BadReturnType.%return: ref bool = var <return slot>
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
+// CHECK:STDOUT: %bool.make_type: init type = call constants.%Bool() [template = bool]
|
|
|
+// CHECK:STDOUT: %.loc17_37.1: type = value_of_initializer %bool.make_type [template = bool]
|
|
|
+// CHECK:STDOUT: %.loc17_37.2: type = converted %bool.make_type, %.loc17_37.1 [template = bool]
|
|
|
+// CHECK:STDOUT: %return: ref bool = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %JustRight.decl: %JustRight.type = fn_decl @JustRight [template = constants.%JustRight] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc18_17.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc18_17: init type = call constants.%Float(%.loc18_17.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_17.2: type = value_of_initializer %float.make_type.loc18_17 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_17.3: type = converted %float.make_type.loc18_17, %.loc18_17.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc18_14.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @JustRight.%a: f64 = bind_name a, %a.loc18_14.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc18_25.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc18_25: init type = call constants.%Float(%.loc18_25.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_25.2: type = value_of_initializer %float.make_type.loc18_25 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_25.3: type = converted %float.make_type.loc18_25, %.loc18_25.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc18_22.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @JustRight.%b: f64 = bind_name b, %b.loc18_22.1
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
// CHECK:STDOUT: %.loc18_33.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc18_33: init type = call constants.%Float(%.loc18_33.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_33.2: type = value_of_initializer %float.make_type.loc18_33 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc18_33.3: type = converted %float.make_type.loc18_33, %.loc18_33.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @JustRight.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %RuntimeCallTooFew.decl: %RuntimeCallTooFew.type = fn_decl @RuntimeCallTooFew [template = constants.%RuntimeCallTooFew] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc20_25.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc20_25: init type = call constants.%Float(%.loc20_25.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc20_25.2: type = value_of_initializer %float.make_type.loc20_25 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc20_25.3: type = converted %float.make_type.loc20_25, %.loc20_25.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc20_22.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooFew.%a: f64 = bind_name a, %a.loc20_22.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc20_33.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc20_33: init type = call constants.%Float(%.loc20_33.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc20_33.2: type = value_of_initializer %float.make_type.loc20_33 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc20_33.3: type = converted %float.make_type.loc20_33, %.loc20_33.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooFew.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %RuntimeCallTooMany.decl: %RuntimeCallTooMany.type = fn_decl @RuntimeCallTooMany [template = constants.%RuntimeCallTooMany] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: %c.patt: f64 = binding_pattern c
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc24_26.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc24_26: init type = call constants.%Float(%.loc24_26.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_26.2: type = value_of_initializer %float.make_type.loc24_26 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_26.3: type = converted %float.make_type.loc24_26, %.loc24_26.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc24_23.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooMany.%a: f64 = bind_name a, %a.loc24_23.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc24_34.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc24_34: init type = call constants.%Float(%.loc24_34.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_34.2: type = value_of_initializer %float.make_type.loc24_34 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_34.3: type = converted %float.make_type.loc24_34, %.loc24_34.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc24_31.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooMany.%b: f64 = bind_name b, %b.loc24_31.1
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
// CHECK:STDOUT: %.loc24_42.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc24_42: init type = call constants.%Float(%.loc24_42.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_42.2: type = value_of_initializer %float.make_type.loc24_42 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_42.3: type = converted %float.make_type.loc24_42, %.loc24_42.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %c.loc24_39.1: f64 = param c, runtime_param2
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooMany.%c: f64 = bind_name c, %c.loc24_39.1
|
|
|
+// CHECK:STDOUT: %c.param: f64 = param c, runtime_param2
|
|
|
+// CHECK:STDOUT: %c: f64 = bind_name c, %c.param
|
|
|
// CHECK:STDOUT: %.loc24_50.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc24_50: init type = call constants.%Float(%.loc24_50.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_50.2: type = value_of_initializer %float.make_type.loc24_50 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc24_50.3: type = converted %float.make_type.loc24_50, %.loc24_50.2 [template = f64]
|
|
|
-// CHECK:STDOUT: @RuntimeCallTooMany.%return: ref f64 = var <return slot>
|
|
|
+// CHECK:STDOUT: %return: ref f64 = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %RuntimeCallBadReturnType.decl: %RuntimeCallBadReturnType.type = fn_decl @RuntimeCallBadReturnType [template = constants.%RuntimeCallBadReturnType] {
|
|
|
+// CHECK:STDOUT: %a.patt: f64 = binding_pattern a
|
|
|
+// CHECK:STDOUT: %b.patt: f64 = binding_pattern b
|
|
|
+// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %.loc28_32.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc28_32: init type = call constants.%Float(%.loc28_32.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc28_32.2: type = value_of_initializer %float.make_type.loc28_32 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc28_32.3: type = converted %float.make_type.loc28_32, %.loc28_32.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %a.loc28_29.1: f64 = param a, runtime_param0
|
|
|
-// CHECK:STDOUT: @RuntimeCallBadReturnType.%a: f64 = bind_name a, %a.loc28_29.1
|
|
|
+// CHECK:STDOUT: %a.param: f64 = param a, runtime_param0
|
|
|
+// CHECK:STDOUT: %a: f64 = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: %.loc28_40.1: i32 = int_literal 64 [template = constants.%.1]
|
|
|
// CHECK:STDOUT: %float.make_type.loc28_40: init type = call constants.%Float(%.loc28_40.1) [template = f64]
|
|
|
// CHECK:STDOUT: %.loc28_40.2: type = value_of_initializer %float.make_type.loc28_40 [template = f64]
|
|
|
// CHECK:STDOUT: %.loc28_40.3: type = converted %float.make_type.loc28_40, %.loc28_40.2 [template = f64]
|
|
|
-// CHECK:STDOUT: %b.loc28_37.1: f64 = param b, runtime_param1
|
|
|
-// CHECK:STDOUT: @RuntimeCallBadReturnType.%b: f64 = bind_name b, %b.loc28_37.1
|
|
|
-// CHECK:STDOUT: %bool.make_type.loc28: init type = call constants.%Bool() [template = bool]
|
|
|
-// CHECK:STDOUT: %.loc28_48.1: type = value_of_initializer %bool.make_type.loc28 [template = bool]
|
|
|
-// CHECK:STDOUT: %.loc28_48.2: type = converted %bool.make_type.loc28, %.loc28_48.1 [template = bool]
|
|
|
-// CHECK:STDOUT: @RuntimeCallBadReturnType.%return: ref bool = var <return slot>
|
|
|
+// CHECK:STDOUT: %b.param: f64 = param b, runtime_param1
|
|
|
+// CHECK:STDOUT: %b: f64 = bind_name b, %b.param
|
|
|
+// CHECK:STDOUT: %bool.make_type: init type = call constants.%Bool() [template = bool]
|
|
|
+// CHECK:STDOUT: %.loc28_48.1: type = value_of_initializer %bool.make_type [template = bool]
|
|
|
+// CHECK:STDOUT: %.loc28_48.2: type = converted %bool.make_type, %.loc28_48.1 [template = bool]
|
|
|
+// CHECK:STDOUT: %return: ref bool = var <return slot>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|