Guest User

FrontendCrash

a guest
Jun 3rd, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.30 KB | None | 0 0
  1. ```
  2. PS E:\Git\glmSwift> swift build -v
  3. Building for debugging...
  4. Write auxiliary file E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\sources
  5. Write auxiliary file E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\swift-version-7FC4325B17529B4.txt
  6. E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swiftc.exe -module-name GLMSwiftDemo -emit-dependencies -emit-module -emit-module-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules\GLMSwiftDemo.swiftmodule -output-file-map E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\output-file-map.json -incremental -c @E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\sources -I E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules -target x86_64-unknown-windows-msvc -v -enable-batch-mode -index-store-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\index\store -Onone -enable-testing -j12 -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file=E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwift.build\module.modulemap -Xcc -I -Xcc E:\Git\glmSwift\swift\GLMSwift\Sources\include -module-cache-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\ModuleCache -parseable-output -parse-as-library -static -color-diagnostics -swift-version 6 -cxx-interoperability-mode=default -sdk E:\swift\Platforms\6.1.2\Windows.platform\Developer\SDKs\Windows.sdk\ -libc
  7. MD -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows\x86_64 -L E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows\x86_64 -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\Testing-development\usr\lib\swift\windows -L E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\Testing-development\usr\lib\swift\windows\x86_64 -use-ld=lld -g -use-ld=lld -Xcc -D_MT -Xcc -D_DLL -Xcc -Xclang -Xcc --dependent-lib=msvcrt -Xcc -gdwarf -package-name glmswift
  8. Swift version 6.1.2 (swift-6.1.2-RELEASE)
  9. Target: x86_64-unknown-windows-msvc
  10. E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe -frontend -c -primary-file E:\Git\glmSwift\swift\GLMSwiftDemo\main.swift -emit-dependencies-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\main.d -emit-reference-dependencies-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\main.swiftdeps -target x86_64-unknown-windows-msvc -disable-objc-interop -cxx-interoperability-mode=default -sdk E:\swift\Platforms\6.1.2\Windows.platform\Developer\SDKs\Windows.sdk\ -I E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows\x86_64 -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\Testing-development\usr\lib\swift\windows -color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\ModuleCache -static -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir E:\swift\Toolchains\6.1.2+Asserts\usr\lib\swift -enable-anonymous-context-mangled-names -file-compilation-dir E:\Git\glmSwift -Xcc -fmodule-map-file=E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwift.build\module.modulemap -Xcc -I -Xcc E:\Git\glmSwift\swift\GLMSwift\Sources\include -Xcc -D_MT -Xcc -D_DLL -Xcc -Xclang -Xcc --dependent-lib=msvcrt -Xcc -gdwarf -module-name GLMSwiftDemo -package-name glmswift -in-process-plugin-server-path E:\swift\Toolchains\6.1.2+Asserts\usr\bin\SwiftInProcPluginServer.dll -plugin-path E:\swift\Toolchains\6.1.2+Asserts\usr\bin -plugin-path E:\swift\Toolchains\6.1.2+Asserts\usr\local\bin -parse-as-library -o E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\main.swift.o -index-store-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\index\store -index-system-modules
  11. E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types E:\Git\glmSwift\swift\GLMSwiftDemo\main.swift -target x86_64-unknown-windows-msvc -disable-objc-interop -cxx-interoperability-mode=default -sdk E:\swift\Platforms\6.1.2\Windows.platform\Developer\SDKs\Windows.sdk\ -I E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\XCTest-development\usr\lib\swift\windows\x86_64 -I E:\swift\Platforms\6.1.2\Windows.platform\Developer\Library\Testing-development\usr\lib\swift\windows -color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\ModuleCache -static -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir E:\swift\Toolchains\6.1.2+Asserts\usr\lib\swift -enable-anonymous-context-mangled-names -file-compilation-dir E:\Git\glmSwift -Xcc -fmodule-map-file=E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwift.build\module.modulemap -Xcc -I -Xcc E:\Git\glmSwift\swift\GLMSwift\Sources\include -Xcc -D_MT
  12. -Xcc -D_DLL -Xcc -Xclang -Xcc --dependent-lib=msvcrt -Xcc -gdwarf -module-name GLMSwiftDemo -package-name glmswift -in-process-plugin-server-path E:\swift\Toolchains\6.1.2+Asserts\usr\bin\SwiftInProcPluginServer.dll -plugin-path E:\swift\Toolchains\6.1.2+Asserts\usr\bin -plugin-path E:\swift\Toolchains\6.1.2+Asserts\usr\local\bin -emit-module-doc-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules\GLMSwiftDemo.swiftdoc -emit-module-source-info-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules\GLMSwiftDemo.swiftsourceinfo -emit-dependencies-path E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\GLMSwiftDemo.build\GLMSwiftDemo.emit-module.d -parse-as-library -o E:\Git\glmSwift\.build\x86_64-unknown-windows-msvc\debug\Modules\GLMSwiftDemo.swiftmodule
  13. error: compile command failed due to exception 3 (use -v to see invocation)
  14. SIL verification failed: branch argument types do not match arguments for dest bb: std::equal(BI->getArgs().begin(), BI->getArgs().end(), BI->getDestBB()->args_begin(), [&](SILValue branchArg, SILArgument *bbArg) { return verifyBranchArgs(branchArg, bbArg); })
  15. Verifying instruction:
  16. %203 = enum $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, #Optional.some!enumelt, %202 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %204
  17. -> br bb13(%203 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4,
  18. _CInt_4, CFloat, _0>>) // id: %204
  19. In function:
  20. // clipTransformFnPointer(cameraZ:rotations:)
  21. // Isolation: unspecified
  22. sil [ossa] @$s12GLMSwiftDemo22clipTransformFnPointer7cameraZ9rotationsSo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVSf_AF0034vec_CInt_3CFloat_0_JfAHfgaIvhGGajcVtF : $@convention(thin) (Float, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> {
  23. // %0 "cameraZ" // users: %239, %97, %7
  24. // %1 "rotations" // users: %132, %8
  25. bb0(%0 : $Float, %1 : $glm.vec<_CInt_3, CFloat, _0>):
  26. %2 = global_addr @scale_f32 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %159
  27. %3 = global_addr @rotate_f32 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, Float, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %108
  28. %4 = global_addr @translate_f32 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) ->
  29. glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // users: %200, %63
  30. %5 = global_addr @pi_f32 : $*Optional<@convention(c) () -> Float> // user: %22
  31. %6 = global_addr @perspective_f32 : $*Optional<@convention(c) (Float, Float, Float, Float) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %9
  32. debug_value %0 : $Float, let, name "cameraZ", argno 1 // id: %7
  33. debug_value %1 : $glm.vec<_CInt_3, CFloat, _0>, let, name "rotations", argno 2 // id: %8
  34. %9 = load [trivial] %6 : $*Optional<@convention(c) (Float, Float, Float, Float) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %10
  35. switch_enum %9 : $Optional<@convention(c) (Float, Float, Float, Float) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb2, case #Optional.none!enumelt: bb1 // id: %10
  36.  
  37. bb1: // Preds: bb0
  38. %11 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %18
  39. %12 = integer_literal $Builtin.Word, 23 // user: %18
  40. %13 = integer_literal $Builtin.Int1, -1 // user: %18
  41. %14 = integer_literal $Builtin.Word, 5 // user: %18
  42. %15 = integer_literal $Builtin.Word, 22
  43. %16 = integer_literal $Builtin.Int1, -1 // user: %18
  44. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  45. %17 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %18
  46. %18 = apply %17(%11, %12, %13, %14, %16) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  47. unreachable // id: %19
  48.  
  49. // %20 // user: %60
  50. bb2(%20 : $@convention(c) (Float, Float, Float, Float) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>): // Preds: bb0
  51. %21 = metatype $@thin Float.Type // user: %40
  52. %22 = load [trivial] %5 : $*Optional<@convention(c) () -> Float> // user: %23
  53. switch_enum %22 : $Optional<@convention(c) () -> Float>, case #Optional.some!enumelt: bb4, case #Optional.none!enumelt: bb3 // id: %23
  54.  
  55. bb3: // Preds: bb2
  56. %24 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %31
  57. %25 = integer_literal $Builtin.Word, 23 // user: %31
  58. %26 = integer_literal $Builtin.Int1, -1 // user: %31
  59. %27 = integer_literal $Builtin.Word, 5 // user: %31
  60. %28 = integer_literal $Builtin.Word, 38
  61. %29 = integer_literal $Builtin.Int1, -1 // user: %31
  62. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  63. %30 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %31
  64. %31 = apply %30(%24, %25, %26, %27, %29) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  65. unreachable // id: %32
  66.  
  67. // %33 // user: %34
  68. bb4(%33 : $@convention(c) () -> Float): // Preds: bb2
  69. %34 = apply %33() : $@convention(c) () -> Float // user: %40
  70. %35 = float_literal $Builtin.FPIEEE64, 0x3FD0000000000000 // 0.25 // user: %38
  71. %36 = metatype $@thin Float.Type // user: %38
  72. // function_ref Float.init(_builtinFloatLiteral:)
  73. %37 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %38
  74. %38 = apply %37(%35, %36) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %40
  75. // function_ref static Float.* infix(_:_:)
  76. %39 = function_ref @$sSf1moiyS2f_SftFZ : $@convention(method) (Float, Float, @thin Float.Type) -> Float // user: %40
  77. %40 = apply %39(%34, %38, %21) : $@convention(method) (Float, Float, @thin Float.Type) -> Float // user: %60
  78. %41 = metatype $@thin Float.Type // user: %51
  79. %42 = float_literal $Builtin.FPIEEE64, 0x4008000000000000 // 3 // user: %45
  80. %43 = metatype $@thin Float.Type // user: %45
  81. // function_ref Float.init(_builtinFloatLiteral:)
  82. %44 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %45
  83. %45 = apply %44(%42, %43) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %51
  84. %46 = float_literal $Builtin.FPIEEE64, 0x4010000000000000 // 4 // user: %49
  85. %47 = metatype $@thin Float.Type // user: %49
  86. // function_ref Float.init(_builtinFloatLiteral:)
  87. %48 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %49
  88. %49 = apply %48(%46, %47) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %51
  89. // function_ref static Float./ infix(_:_:)
  90. %50 = function_ref @$sSf1doiyS2f_SftFZ : $@convention(method) (Float, Float, @thin Float.Type) -> Float // user: %51
  91. %51 = apply %50(%45, %49, %41) : $@convention(method) (Float, Float, @thin Float.Type) -> Float // user: %60
  92. %52 = float_literal $Builtin.FPIEEE64, 0x3FB999999999999A // 0.10000000000000001 // user: %55
  93. %53 = metatype $@thin Float.Type // user: %55
  94. // function_ref Float.init(_builtinFloatLiteral:)
  95. %54 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %55
  96. %55 = apply %54(%52, %53) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %60
  97. %56 = float_literal $Builtin.FPIEEE64, 0x4059000000000000 // 100 // user: %59
  98. %57 = metatype $@thin Float.Type // user: %59
  99. // function_ref Float.init(_builtinFloatLiteral:)
  100. %58 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %59
  101. %59 = apply %58(%56, %57) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %60
  102. %60 = apply %20(%40, %51, %55, %59) : $@convention(c) (Float, Float, Float, Float) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %61
  103. %61 = move_value [var_decl] %60 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %262, %253, %62
  104. debug_value %61 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "projection" // id: %62
  105. %63 = load [trivial] %4 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %64
  106. switch_enum %63 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4,
  107. _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb6, case #Optional.none!enumelt: bb5 // id: %64
  108.  
  109. bb5: // Preds: bb4
  110. %65 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %72
  111. %66 = integer_literal $Builtin.Word, 23 // user: %72
  112. %67 = integer_literal $Builtin.Int1, -1 // user: %72
  113. %68 = integer_literal $Builtin.Word, 7 // user: %72
  114. %69 = integer_literal $Builtin.Word, 26
  115. %70 = integer_literal $Builtin.Int1, -1 // user: %72
  116. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  117. %71 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %72
  118. %72 = apply %71(%65, %66, %67, %68, %70) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  119. unreachable // id: %73
  120.  
  121. // %74 // user: %101
  122. bb6(%74 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>): // Preds: bb4
  123. %75 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %105, %83, %82
  124. %76 = metatype $@thin glm.mat<_CInt_4, _CInt_4, CFloat, _0>.Type
  125. %77 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %80
  126. %78 = metatype $@thin Float.Type // user: %80
  127. // function_ref Float.init(_builtinFloatLiteral:)
  128. %79 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %80
  129. %80 = apply %79(%77, %78) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %82
  130. // function_ref ??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z
  131. %81 = function_ref @??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %82
  132. %82 = apply %81(%75, %80) : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0>
  133. %83 = load [trivial] %75 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %85
  134. %84 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %104, %101, %85
  135. store %83 to [trivial] %84 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %85
  136. %86 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %103, %98, %97
  137. %87 = metatype $@thin glm.vec<_CInt_3, CFloat, _0>.Type
  138. %88 = integer_literal $Builtin.IntLiteral, 0 // user: %91
  139. %89 = metatype $@thin Int.Type // user: %91
  140. // function_ref Int.init(_builtinIntegerLiteral:)
  141. %90 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %91
  142. %91 = apply %90(%88, %89) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %97
  143. %92 = integer_literal $Builtin.IntLiteral, 0 // user: %95
  144. %93 = metatype $@thin Int.Type // user: %95
  145. // function_ref Int.init(_builtinIntegerLiteral:)
  146. %94 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %95
  147. %95 = apply %94(%92, %93) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %97
  148. // function_ref ??$?0_J_JM@?$vec@$02M$0A@@glm@@QEAA@_J0M@Z
  149. %96 = function_ref @??$?0_J_JM@?$vec@$02M$0A@@glm@@QEAA@_J0M@Z : $@convention(c) (Int, Int, Float) -> @out glm.vec<_CInt_3, CFloat, _0> // user: %97
  150. %97 = apply %96(%86, %91, %95, %0) : $@convention(c) (Int, Int, Float) -> @out glm.vec<_CInt_3, CFloat, _0>
  151. %98 = load [trivial] %86 : $*glm.vec<_CInt_3, CFloat, _0> // user: %100
  152. %99 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %102, %101, %100
  153. store %98 to [trivial] %99 : $*glm.vec<_CInt_3, CFloat, _0> // id: %100
  154. %101 = apply %74(%84, %99) : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %106
  155. dealloc_stack %99 : $*glm.vec<_CInt_3, CFloat, _0> // id: %102
  156. dealloc_stack %86 : $*glm.vec<_CInt_3, CFloat, _0> // id: %103
  157. dealloc_stack %84 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %104
  158. dealloc_stack %75 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %105
  159. %106 = move_value [var_decl] %101 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %261, %249, %107
  160. debug_value %106 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "firstTranslate" // id: %107
  161. %108 = load [trivial] %3 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, Float, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) ->
  162. glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %109
  163. switch_enum %108 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, Float, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb8, case #Optional.none!enumelt: bb7 // id: %109
  164.  
  165. bb7: // Preds: bb6
  166. %110 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %117
  167. %111 = integer_literal $Builtin.Word, 23 // user: %117
  168. %112 = integer_literal $Builtin.Int1, -1 // user: %117
  169. %113 = integer_literal $Builtin.Word, 8 // user: %117
  170. %114 = integer_literal $Builtin.Word, 23
  171. %115 = integer_literal $Builtin.Int1, -1 // user: %117
  172. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  173. %116 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %117
  174. %117 = apply %116(%110, %111, %112, %113, %115) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  175. unreachable // id: %118
  176.  
  177. // %119 // user: %152
  178. bb8(%119 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, Float, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>): // Preds: bb6
  179. %120 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %156, %128, %127
  180. %121 = metatype $@thin glm.mat<_CInt_4, _CInt_4, CFloat, _0>.Type
  181. %122 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %125
  182. %123 = metatype $@thin Float.Type // user: %125
  183. // function_ref Float.init(_builtinFloatLiteral:)
  184. %124 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %125
  185. %125 = apply %124(%122, %123) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %127
  186. // function_ref ??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z
  187. %126 = function_ref @??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %127
  188. %127 = apply %126(%120, %125) : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0>
  189. %128 = load [trivial] %120 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %130
  190. %129 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %155, %152, %130
  191. store %128 to [trivial] %129 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %130
  192. // function_ref glm.vec<_CInt_3, CFloat, _0>.y.getter
  193. %131 = function_ref @$sSo3glmO0034vec_CInt_3CFloat_0_JfAHfgaIvhGGajcV1ySfvg : $@convention(method) (glm.vec<_CInt_3, CFloat, _0>) -> Float // user: %132
  194. %132 = apply %131(%1) : $@convention(method) (glm.vec<_CInt_3, CFloat, _0>) -> Float // user: %152
  195. %133 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %154, %149, %148
  196. %134 = metatype $@thin glm.vec<_CInt_3, CFloat, _0>.Type
  197. %135 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %138
  198. %136 = metatype $@thin Double.Type // user: %138
  199. // function_ref Double.init(_builtinFloatLiteral:)
  200. %137 = function_ref @$sSd20_builtinFloatLiteralSdBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %138
  201. %138 = apply %137(%135, %136) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %148
  202. %139 = float_literal $Builtin.FPIEEE64, 0x0 // 0 // user: %142
  203. %140 = metatype $@thin Double.Type // user: %142
  204. // function_ref Double.init(_builtinFloatLiteral:)
  205. %141 = function_ref @$sSd20_builtinFloatLiteralSdBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %142
  206. %142 = apply %141(%139, %140) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %148
  207. %143 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %146
  208. %144 = metatype $@thin Double.Type // user: %146
  209. // function_ref Double.init(_builtinFloatLiteral:)
  210. %145 = function_ref @$sSd20_builtinFloatLiteralSdBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %146
  211. %146 = apply %145(%143, %144) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double // user: %148
  212. // function_ref ??$?0NNN@?$vec@$02M$0A@@glm@@QEAA@NNN@Z
  213. %147 = function_ref @??$?0NNN@?$vec@$02M$0A@@glm@@QEAA@NNN@Z : $@convention(c) (Double, Double, Double) -> @out glm.vec<_CInt_3, CFloat, _0> // user: %148
  214. %148 = apply %147(%133, %138, %142, %146) : $@convention(c) (Double, Double, Double) -> @out glm.vec<_CInt_3, CFloat, _0>
  215. %149 = load [trivial] %133 : $*glm.vec<_CInt_3, CFloat, _0> // user: %151
  216. %150 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %153, %152, %151
  217. store %149 to [trivial] %150 : $*glm.vec<_CInt_3, CFloat, _0> // id: %151
  218. %152 = apply %119(%129, %132, %150) : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, Float, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %157
  219. dealloc_stack %150 : $*glm.vec<_CInt_3, CFloat, _0> // id: %153
  220. dealloc_stack %133 : $*glm.vec<_CInt_3, CFloat, _0> // id: %154
  221. dealloc_stack %129 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %155
  222. dealloc_stack %120 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %156
  223. %157 = move_value [var_decl] %152 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %260, %249, %158
  224. debug_value %157 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "firstRotate" // id: %158
  225. %159 = load [trivial] %2 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %160
  226. switch_enum %159 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb10, case #Optional.none!enumelt: bb9 // id: %160
  227.  
  228. bb9: // Preds: bb8
  229. %161 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %168
  230. %162 = integer_literal $Builtin.Word, 23 // user: %168
  231. %163 = integer_literal $Builtin.Int1, -1 // user: %168
  232. %164 = integer_literal $Builtin.Word, 9 // user: %168
  233. %165 = integer_literal $Builtin.Word, 22
  234. %166 = integer_literal $Builtin.Int1, -1 // user: %168
  235. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  236. %167 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %168
  237. %168 = apply %167(%161, %162, %163, %164, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  238. unreachable // id: %169
  239.  
  240. // %170 // user: %193
  241. bb10(%170 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat,
  242. _0>): // Preds: bb8
  243. %171 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %197, %179, %178
  244. %172 = metatype $@thin glm.mat<_CInt_4, _CInt_4, CFloat, _0>.Type
  245. %173 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %176
  246. %174 = metatype $@thin Float.Type // user: %176
  247. // function_ref Float.init(_builtinFloatLiteral:)
  248. %175 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %176
  249. %176 = apply %175(%173, %174) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %178
  250. // function_ref ??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z
  251. %177 = function_ref @??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %178
  252. %178 = apply %177(%171, %176) : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0>
  253. %179 = load [trivial] %171 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %181
  254. %180 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %196, %193, %181
  255. store %179 to [trivial] %180 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %181
  256. %182 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %195, %190, %189
  257. %183 = metatype $@thin glm.vec<_CInt_3, CFloat, _0>.Type
  258. %184 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5 // user: %187
  259. %185 = metatype $@thin Float.Type // user: %187
  260. // function_ref Float.init(_builtinFloatLiteral:)
  261. %186 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %187
  262. %187 = apply %186(%184, %185) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %189
  263. // function_ref ??0?$vec@$02M$0A@@glm@@QEAA@M@Z
  264. %188 = function_ref @??0?$vec@$02M$0A@@glm@@QEAA@M@Z : $@convention(c) (Float) -> @out glm.vec<_CInt_3, CFloat, _0> // user: %189
  265. %189 = apply %188(%182, %187) : $@convention(c) (Float) -> @out glm.vec<_CInt_3, CFloat, _0>
  266. %190 = load [trivial] %182 : $*glm.vec<_CInt_3, CFloat, _0> // user: %192
  267. %191 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %194, %193, %192
  268. store %190 to [trivial] %191 : $*glm.vec<_CInt_3, CFloat, _0> // id: %192
  269. %193 = apply %170(%180, %191) : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %198
  270. dealloc_stack %191 : $*glm.vec<_CInt_3, CFloat, _0> // id: %194
  271. dealloc_stack %182 : $*glm.vec<_CInt_3, CFloat, _0> // id: %195
  272. dealloc_stack %180 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %196
  273. dealloc_stack %171 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %197
  274. %198 = move_value [var_decl] %193 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %259, %246, %199
  275. debug_value %198 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "firstScale" // id: %199
  276. %200 = load [trivial] %4 : $*Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>> // user: %201
  277. switch_enum %200 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb11, case #Optional.none!enumelt: bb12 // id: %201
  278.  
  279. // %202 // user: %203
  280. bb11(%202 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat,
  281. _0>): // Preds: bb10
  282. %203 = enum $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, #Optional.some!enumelt, %202 : $@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %204
  283. br bb13(%203 : $Optional<@convention(c) (@in_guaranteed glm.mat<_CInt_4, _CInt_4, CFloat, _0>, @in_guaranteed glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>) // id: %204
  284.  
  285. bb12: // Preds: bb10
  286. %205 = enum $Optional<@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, #Optional.none!enumelt // user: %206
  287. br bb13(%205 : $Optional<@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>) // id: %206
  288.  
  289. // %207 // user: %208
  290. bb13(%207 : $Optional<@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>): // Preds: bb12 bb11
  291. switch_enum %207 : $Optional<@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>>, case #Optional.some!enumelt: bb15, case #Optional.none!enumelt: bb14 // id: %208
  292.  
  293. bb14: // Preds: bb13
  294. %209 = string_literal utf8 "GLMSwiftDemo/main.swift" // user: %216
  295. %210 = integer_literal $Builtin.Word, 23 // user: %216
  296. %211 = integer_literal $Builtin.Int1, -1 // user: %216
  297. %212 = integer_literal $Builtin.Word, 12 // user: %216
  298. %213 = integer_literal $Builtin.Word, 27
  299. %214 = integer_literal $Builtin.Int1, -1 // user: %216
  300. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart:_filenameLength:_filenameIsASCII:_line:_isImplicitUnwrap:)
  301. %215 = function_ref @$ss30_diagnoseUnexpectedNilOptional14_filenameStart01_E6Length01_E7IsASCII5_line17_isImplicitUnwrapyBp_BwBi1_BwBi1_tF : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> () // user: %216
  302. %216 = apply %215(%209, %210, %211, %212, %214) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word, Builtin.Int1) -> ()
  303. unreachable // id: %217
  304.  
  305. // %218 // user: %241
  306. bb15(%218 : $@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0>): // Preds: bb13
  307. %219 = alloc_stack $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %243, %227, %226
  308. %220 = metatype $@thin glm.mat<_CInt_4, _CInt_4, CFloat, _0>.Type
  309. %221 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1 // user: %224
  310. %222 = metatype $@thin Float.Type // user: %224
  311. // function_ref Float.init(_builtinFloatLiteral:)
  312. %223 = function_ref @$sSf20_builtinFloatLiteralSfBf64__tcfC : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %224
  313. %224 = apply %223(%221, %222) : $@convention(method) (Builtin.FPIEEE64, @thin Float.Type) -> Float // user: %226
  314. // function_ref ??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z
  315. %225 = function_ref @??0?$mat@$03$03M$0A@@glm@@QEAA@M@Z : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %226
  316. %226 = apply %225(%219, %224) : $@convention(c) (Float) -> @out glm.mat<_CInt_4, _CInt_4, CFloat, _0>
  317. %227 = load [trivial] %219 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %241
  318. %228 = alloc_stack $glm.vec<_CInt_3, CFloat, _0> // users: %242, %240, %239
  319. %229 = metatype $@thin glm.vec<_CInt_3, CFloat, _0>.Type
  320. %230 = integer_literal $Builtin.IntLiteral, 0 // user: %233
  321. %231 = metatype $@thin Int.Type // user: %233
  322. // function_ref Int.init(_builtinIntegerLiteral:)
  323. %232 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %233
  324. %233 = apply %232(%230, %231) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %239
  325. %234 = integer_literal $Builtin.IntLiteral, 0 // user: %237
  326. %235 = metatype $@thin Int.Type // user: %237
  327. // function_ref Int.init(_builtinIntegerLiteral:)
  328. %236 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %237
  329. %237 = apply %236(%234, %235) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %239
  330. // function_ref ??$?0_J_JM@?$vec@$02M$0A@@glm@@QEAA@_J0M@Z
  331. %238 = function_ref @??$?0_J_JM@?$vec@$02M$0A@@glm@@QEAA@_J0M@Z : $@convention(c) (Int, Int, Float) -> @out glm.vec<_CInt_3, CFloat, _0> // user: %239
  332. %239 = apply %238(%228, %233, %237, %0) : $@convention(c) (Int, Int, Float) -> @out glm.vec<_CInt_3, CFloat, _0>
  333. %240 = load [trivial] %228 : $*glm.vec<_CInt_3, CFloat, _0> // user: %241
  334. %241 = apply %218(%227, %240) : $@convention(c) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.vec<_CInt_3, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %244
  335. dealloc_stack %228 : $*glm.vec<_CInt_3, CFloat, _0> // id: %242
  336. dealloc_stack %219 : $*glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %243
  337. %244 = move_value [var_decl] %241 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %258, %245
  338. debug_value %244 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "secondTranslate" // id: %245
  339. %246 = move_value [var_decl] %198 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %257, %255, %247
  340. debug_value %246 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "model" // id: %247
  341. // function_ref * infix(_:_:)
  342. %248 = function_ref @$s18GLMSwiftExtensions1moiySo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVAF_AFtF : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %249
  343. %249 = apply %248(%106, %157) : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %250
  344. %250 = move_value [var_decl] %249 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // users: %256, %253, %251
  345. debug_value %250 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0>, let, name "view" // id: %251
  346. // function_ref * infix(_:_:)
  347. %252 = function_ref @$s18GLMSwiftExtensions1moiySo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVAF_AFtF : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %253
  348. %253 = apply %252(%61, %250) : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %255
  349. // function_ref * infix(_:_:)
  350. %254 = function_ref @$s18GLMSwiftExtensions1moiySo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVAF_AFtF : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %255
  351. %255 = apply %254(%253, %246) : $@convention(thin) (glm.mat<_CInt_4, _CInt_4, CFloat, _0>, glm.mat<_CInt_4, _CInt_4, CFloat, _0>) -> glm.mat<_CInt_4, _CInt_4, CFloat, _0> // user: %263
  352. extend_lifetime %250 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %256
  353. extend_lifetime %246 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %257
  354. extend_lifetime %244 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %258
  355. extend_lifetime %198 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %259
  356. extend_lifetime %157 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %260
  357. extend_lifetime %106 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %261
  358. extend_lifetime %61 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %262
  359. return %255 : $glm.mat<_CInt_4, _CInt_4, CFloat, _0> // id: %263
  360. } // end sil function '$s12GLMSwiftDemo22clipTransformFnPointer7cameraZ9rotationsSo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVSf_AF0034vec_CInt_3CFloat_0_JfAHfgaIvhGGajcVtF'
  361.  
  362. Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
  363. Stack dump:
  364. 0. Program arguments: E:\\swift\\Toolchains\\6.1.2+Asserts\\usr\\bin\\swift-frontend.exe -frontend -c -primary-file E:\\Git\\glmSwift\\swift\\GLMSwiftDemo\\main.swift -emit-dependencies-path E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\GLMSwiftDemo.build\\main.d -emit-reference-dependencies-path E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\GLMSwiftDemo.build\\main.swiftdeps -target x86_64-unknown-windows-msvc -disable-objc-interop -cxx-interoperability-mode=default -sdk E:\\swift\\Platforms\\6.1.2\\Windows.platform\\Developer\\SDKs\\Windows.sdk\\ -I E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\Modules -I E:\\swift\\Platforms\\6.1.2\\Windows.platform\\Developer\\Library\\XCTest-development\\usr\\lib\\swift\\windows -I E:\\swift\\Platforms\\6.1.2\\Windows.platform\\Developer\\Library\\XCTest-development\\usr\\lib\\swift\\windows\\x86_64 -I E:\\swift\\Platforms\\6.1.2\\Windows.platform\\Developer\\Library\\Testing-development\\usr\\lib\\swift\\windows -color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\ModuleCache -static -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir E:\\swift\\Toolchains\\6.1.2+Asserts\\usr\\lib\\swift -enable-anonymous-context-mangled-names -file-compilation-dir E:\\Git\\glmSwift -Xcc -fmodule-map-file=E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\GLMSwift.build\\module.modulemap -Xcc -I -Xcc E:\\Git\\glmSwift\\swift\\GLMSwift\\Sources\\include -Xcc -D_MT -Xcc -D_DLL -Xcc -Xclang -Xcc
  365. --dependent-lib=msvcrt -Xcc -gdwarf -module-name GLMSwiftDemo -package-name glmswift -in-process-plugin-server-path E:\\swift\\Toolchains\\6.1.2+Asserts\\usr\\bin\\SwiftInProcPluginServer.dll -plugin-path E:\\swift\\Toolchains\\6.1.2+Asserts\\usr\\bin -plugin-path E:\\swift\\Toolchains\\6.1.2+Asserts\\usr\\local\\bin -parse-as-library -o E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\GLMSwiftDemo.build\\main.swift.o -index-store-path E:\\Git\\glmSwift\\.build\\x86_64-unknown-windows-msvc\\debug\\index\\store -index-system-modules
  366. 1. Swift version 6.1.2 (swift-6.1.2-RELEASE)
  367. 2. Compiling with the current language version
  368. 3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "E:\Git\glmSwift\swift\GLMSwiftDemo\main.swift")
  369. 4. While silgen emitFunction SIL function "@$s12GLMSwiftDemo22clipTransformFnPointer7cameraZ9rotationsSo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVSf_AF0034vec_CInt_3CFloat_0_JfAHfgaIvhGGajcVtF".
  370. for 'clipTransformFnPointer(cameraZ:rotations:)' (at E:\Git\glmSwift\swift\GLMSwiftDemo\main.swift:4:1)
  371. 5. While verifying SIL function "@$s12GLMSwiftDemo22clipTransformFnPointer7cameraZ9rotationsSo3glmO0045mat_CInt_4_CInt_4CFloat_0_JuFIihagGEaiahBAcGcVSf_AF0034vec_CInt_3CFloat_0_JfAHfgaIvhGGajcVtF".
  372. for 'clipTransformFnPointer(cameraZ:rotations:)' (at E:\Git\glmSwift\swift\GLMSwiftDemo\main.swift:4:1)
  373. Exception Code: 0x80000003
  374. #0 0x00007ff607987225 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x69e7225)
  375. #1 0x00007ffa92e41881 (C:\Windows\System32\ucrtbase.dll+0x71881)
  376. #2 0x00007ffa92e42851 (C:\Windows\System32\ucrtbase.dll+0x72851)
  377. #3 0x00007ff6026025ab (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x16625ab)
  378. #4 0x00007ff6025e244e (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x164244e)
  379. #5 0x00007ff60260d6d8 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x166d6d8)
  380. #6 0x00007ff6026119cb (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x16719cb)
  381. #7 0x00007ff60261213f (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x167213f)
  382. #8 0x00007ff6026026dc (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x16626dc)
  383. #8 0x00007ff6026026dc (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x16626dc)
  384. #9 0x00007ff601c47bb9 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca7bb9)
  385. #10 0x00007ff601c3e610 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xc9e610)
  386. #9 0x00007ff601c47bb9 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca7bb9)
  387. #10 0x00007ff601c3e610 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xc9e610)
  388. #10 0x00007ff601c3e610 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xc9e610)
  389. #11 0x00007ff601c4133b (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca133b)
  390. #12 0x00007ff601c4914e (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca914e)
  391. #13 0x00007ff601c41595 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1595)
  392. #14 0x00007ff601c41c76 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1c76)
  393. #15 0x00007ff601c493f6 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca93f6)
  394. #12 0x00007ff601c4914e (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca914e)
  395. #13 0x00007ff601c41595 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1595)
  396. #14 0x00007ff601c41c76 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1c76)
  397. #15 0x00007ff601c493f6 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca93f6)
  398. #13 0x00007ff601c41595 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1595)
  399. #14 0x00007ff601c41c76 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1c76)
  400. #15 0x00007ff601c493f6 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca93f6)
  401. #14 0x00007ff601c41c76 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca1c76)
  402. #15 0x00007ff601c493f6 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca93f6)
  403. #15 0x00007ff601c493f6 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca93f6)
  404. #16 0x00007ff601c38248 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xc98248)
  405. #17 0x00007ff601c478a4 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0xca78a4)
  406. #18 0x00007ff601560559 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x5c0559)
  407. #19 0x00007ff60155f26c (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x5bf26c)
  408. #20 0x00007ff60155f7db (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x5bf7db)
  409. #21 0x00007ff6015615bb (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x5c15bb)
  410. #22 0x00007ff6013af4f0 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x40f4f0)
  411. #23 0x00007ff6013aefa7 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x40efa7)
  412. #24 0x00007ff6079e62c0 (E:\swift\Toolchains\6.1.2+Asserts\usr\bin\swift-frontend.exe+0x6a462c0)
  413. #25 0x00007ffa94ae7374 (C:\Windows\System32\KERNEL32.DLL+0x17374)
  414. #26 0x00007ffa951dcc91 (C:\Windows\SYSTEM32\ntdll.dll+0x4cc91)
Advertisement
Add Comment
Please, Sign In to add comment