stage2: Fix panic on initializing comptime fields in tuple

This resolves https://github.com/ziglang/zig/issues/11159

The problem was that:
  1. We were not correctly deleting the field stores after recognizing
     that an array initializer was a comptime-known value.
  2. LLVM was not checking that the final type had no runtime bits, and
     so would generate an invalid store.

This also adds several test cases for related bugs, just to check these
in for later work.
480e7eec65Cody Tapscott committed on 3/16/2022, 12:01:16 AM· committed by Andrew Kelleyparent762c4a8
6 files changedLine totals unavailable