LLVM's Inliner broke the code

Hi:
I was using various Inliners on a custom built IR Function however the code simply results in a NULL Pointer Access crash.
How do I debug this issue? The IR code runs perfectly fine without the Inliner. The Inlined functions contains a lot of GEP/Load and stores

Zhang

Hi,
The LLVM tools didn’t crash, but the inlined code crashed at runtime. I later narrowed down that issue to one function, after I added no inline to that function in my transform pass, everything works normal again. I guess that’s a issue with the inliner

Zhang