Welcome to Swift version 6.0.1 (swift-6.0.1-RELEASE).
Type :help for assistance.
1> 1+1
Optimizer/Verifier.swift:22: Fatal error: instruction %5 = struct $Int (%4 : $Builtin.Int64) // user: %7
should conform to ForwardingInstruction
LLDB diagnostics will be written to /tmp/diagnostics-7aab42
Please include the directory content when filing a bug report
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 lldb 0x0000aaaab0815c48
Thanks for confirming! Until we figure out the root cause and get a fix in place, you can get a working repl/lldb capable of running Swift code by rebuilding Swift 6 with the Swift 6 compiler you just built... if you've got the time
I noticed that 6.0.2 was released, so tried that with the 5.10.1 and it resulted with the similar issues. Then I built the 6.0.1 (well, I guess rebuilt), and 6.0.2 with the 6.0.1 and that worked.