# Invalid LLVM IR was generated

**URL:** https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720
**Category:** General Usage
**Tags:** llvm
**Created:** [December 11, 2024, 6:05pm UTC](https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720 "2024-12-11T18:05:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nosferican](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nosferican/32/9275_2.png) [@Nosferican](https://discourse.julialang.org/u/Nosferican)
#### Post date: [December 11, 2024, 6:05pm UTC](https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720/1 "2024-12-11T18:05:28Z")

</div>

I am trying to understand and debug the issue presented at [https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by\_date/2024-12/10/Econometrics.primary.log](https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2024-12/10/Econometrics.primary.log).  
Is there a way to test the functionality that NanoSoldier is performing locally?

---

<div class="post-metadata">

### Author: ![Zentrik](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zentrik/32/35409_2.png) [@Zentrik](https://discourse.julialang.org/u/Zentrik)
#### Post date: [December 11, 2024, 7:00pm UTC](https://discourse.julialang.org/t/invalid-llvm-ir-was-generated/123720/2 "2024-12-11T19:00:31Z")

</div>

I presume this is just ["Instruction does not dominate all uses!" after IRCE pass · Issue #63984 · llvm/llvm-project · GitHub](https://github.com/llvm/llvm-project/issues/63984) and so not really something to worry about.

To reproduce locally I think you need to build Julia with `LLVM_ASSERTIONS=1` and then run the tests after starting Julia with bounds checking.
