sivadeilra wrote: > Can you please add tests for the constant expression rewriting stuff, and not redirecting constant GVs without pointers? It already has some, in `ms-secure-hotpatch-globals.c`. https://github.com/llvm/llvm-project/pull/138972