[Chapel Merge] Only enable LLVM asserts for CHPL_LLVM_DEVELOPER i

Branch: refs/heads/main
Revision: db833ce
Author: daviditen
Link: Only enable LLVM asserts for CHPL_LLVM_DEVELOPER instead of CHPL_DEVELOPER by daviditen · Pull Request #20237 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20237 from daviditen/llvm-no-assert-chpl-developer

Only enable LLVM asserts for CHPL_LLVM_DEVELOPER instead of CHPL_DEVELOPER

[reviewed by @mppf]

These are expensive checks and aren't ABI compatible with LLVM without
assertions. Key them off of CHPL_LLVM_DEVELOPER instead of CHPL_DEVELOPER
so people will have to opt in more concretely.

Signed-off-by: David Iten daviditen@users.noreply.github.com

Modified Files:
M third-party/llvm/Makefile

Compare: https://github.com/chapel-lang/chapel/compare/6f45bcfb27ba...db833ce82f5d