stage2 llvm: Elide more loads

Adds optimizations for by-ref types to:
  - .struct_field_val
  - .slice_elem_val
  - .ptr_elem_val

I would have expected LLVM to be able to optimize away these
temporaries since we don't leak pointers to them and they are fed
straight from def to use, but empirically it does not.

Resolves https://github.com/ziglang/zig/issues/12713
Resolves https://github.com/ziglang/zig/issues/12638
a2f4de1663Cody Tapscott committed on 11/10/2022, 7:22:40 PMparent8f38800
1 file changedLine totals unavailable