clangir
clangir copied to clipboard
Add inrange to getelementptr for vtable
I'm tracking https://github.com/llvm/clangir/pull/569#discussion_r1609000335 here so we don't forget it. https://godbolt.org/z/9b4o1GKrK shows that OG CodeGen adds inrange
to the getelementptr
for the vtable address point, but CIRGen doesn't, so we should match OG at some point.