nikic wrote: Reduced test case: ``` @g = external global i32 define <2 x i16> @test() { %ins = insertelement <2 x i16> poison, i16 ptrtoint (ptr @g to i16), i32 0 ret <2 x i16> %ins } ``` https://github.com/llvm/llvm-project/pull/99368