[Chapel Merge] Don't try to generate nothing/void fields for LLVM

Branch: refs/heads/master
Revision: 7e976a3
Author: mppf
Log Message:

Merge pull request #17798 from mppf/llvm-nothing-baseline

Don't try to generate nothing/void fields for LLVM backend

Resolves a --baseline failure with arrays/deitz/promotion/test_scalar_promote1 among other tests.

  • [x] full local testing

Reviewed by @daviditen - thanks!

Modified Files:
M compiler/codegen/type.cpp

Compare: https://github.com/chapel-lang/chapel/compare/817a035b4f79...7e976a3c2bad